equal
deleted
inserted
replaced
23 |
23 |
24 /* @test |
24 /* @test |
25 * @bug 4838379 |
25 * @bug 4838379 |
26 * @summary Verify that serialization of Class objects for enum types works |
26 * @summary Verify that serialization of Class objects for enum types works |
27 * properly. |
27 * properly. |
28 * |
|
29 * @compile -source 1.5 Test.java |
|
30 * @run main Test |
|
31 */ |
28 */ |
32 |
29 |
33 import java.io.*; |
30 import java.io.*; |
34 |
31 |
35 enum Foo { foo, bar { int i = 0; }, baz { double d = 3.0; } } |
32 enum Foo { foo, bar { int i = 0; }, baz { double d = 3.0; } } |