aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1611/pr333469/MyList.java
blob: 55cb838c37aff93026a7811926e6e55939aa7d1f (plain)
1
2
3
4
5
6
7
8
9
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()));
	}
}