diff options
Diffstat (limited to 'tests/bugs1611/pr333469/MyList.java')
-rw-r--r-- | tests/bugs1611/pr333469/MyList.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs1611/pr333469/MyList.java b/tests/bugs1611/pr333469/MyList.java new file mode 100644 index 000000000..55cb838c3 --- /dev/null +++ b/tests/bugs1611/pr333469/MyList.java @@ -0,0 +1,10 @@ +import java.lang.reflect.Field; +import java.util.ArrayList; + +public class MyList extends ArrayList<Integer> { + public static void main(String []argv) throws Exception { + Field f = MyList.class.getDeclaredField("serialVersionUID"); + f.setAccessible(true); + System.out.println("ser="+f.getLong(new MyList())); + } +}
\ No newline at end of file |