aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/serialVersionUID/NonSerializableTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/serialVersionUID/NonSerializableTest.java')
-rw-r--r--tests/bugs/serialVersionUID/NonSerializableTest.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs/serialVersionUID/NonSerializableTest.java b/tests/bugs/serialVersionUID/NonSerializableTest.java
new file mode 100644
index 000000000..b321495f2
--- /dev/null
+++ b/tests/bugs/serialVersionUID/NonSerializableTest.java
@@ -0,0 +1,14 @@
+public class NonSerializableTest {
+
+ private int i;
+
+ public void run () {
+ System.out.println("NonSerializableTest.run()");
+ i++;
+ }
+
+ public static void main (String[] args) throws Exception {
+ NonSerializableTest test = new NonSerializableTest();
+ test.run();
+ }
+} \ No newline at end of file