diff options
Diffstat (limited to 'tests/bugs/serialVersionUID/ClinitTest.java')
-rw-r--r-- | tests/bugs/serialVersionUID/ClinitTest.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs/serialVersionUID/ClinitTest.java b/tests/bugs/serialVersionUID/ClinitTest.java new file mode 100644 index 000000000..367f35b51 --- /dev/null +++ b/tests/bugs/serialVersionUID/ClinitTest.java @@ -0,0 +1,16 @@ +import java.io.Serializable; + +public class ClinitTest implements Serializable { + + private int i; + private static boolean b = true; + + public void run () { + System.out.println("? Clinit.run()"); + } + + public static void main(String[] args) throws Exception { + ClinitTest test = new ClinitTest(); + Util.write(Util.DEFAULT_NAME,test); + } +}
\ No newline at end of file |