diff options
author | aclement <aclement> | 2004-03-16 09:24:17 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-03-16 09:24:17 +0000 |
commit | cb2aaacf5c3fd4a745fd708c89feaab18435b0e0 (patch) | |
tree | 23597914033f16f59a3de81fec41d92f0318cd9d /tests/bugs/serialVersionUID/Test.java | |
parent | e6894a62dae5857568da40762c4f6daa6111fdb3 (diff) | |
download | aspectj-cb2aaacf5c3fd4a745fd708c89feaab18435b0e0.tar.gz aspectj-cb2aaacf5c3fd4a745fd708c89feaab18435b0e0.zip |
Fix for Bugzilla Bug 41181
Support SerialVersionUID field if no new fields declared on class
(Regenerated with BcweaverJarMaker)
Diffstat (limited to 'tests/bugs/serialVersionUID/Test.java')
-rw-r--r-- | tests/bugs/serialVersionUID/Test.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs/serialVersionUID/Test.java b/tests/bugs/serialVersionUID/Test.java new file mode 100644 index 000000000..2e267b3b3 --- /dev/null +++ b/tests/bugs/serialVersionUID/Test.java @@ -0,0 +1,17 @@ +import java.io.Serializable; + +public class Test implements Serializable { + + private int i; + + public void run () { + System.out.println("Test.run()"); + i++; + } + + public static void main (String[] args) throws Exception { + Test test = new Test(); + test.run(); + Util.write(Util.DEFAULT_NAME,test); + } +} |