miroir de
https://github.com/eclipse-aspectj/aspectj.git
synchronisé 2024-08-14 14:11:27 +02:00
10 lignes
315 B
Java
10 lignes
315 B
Java
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()));
|
|
}
|
|
} |