aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/serialVersionUID/SuidTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/serialVersionUID/SuidTest.java')
-rw-r--r--tests/bugs/serialVersionUID/SuidTest.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs/serialVersionUID/SuidTest.java b/tests/bugs/serialVersionUID/SuidTest.java
new file mode 100644
index 000000000..9e93283ed
--- /dev/null
+++ b/tests/bugs/serialVersionUID/SuidTest.java
@@ -0,0 +1,16 @@
+import java.io.Serializable;
+
+public class SuidTest implements Serializable {
+
+ static final long serialVersionUID = 8904684881596717140L;
+ private int i;
+
+ public void run () {
+ System.out.println("? SuidTest.run()");
+ }
+
+ public static void main(String[] args) throws Exception {
+ SuidTest test = new SuidTest();
+ Util.write(Util.DEFAULT_NAME,test);
+ }
+} \ No newline at end of file