Hi,
I added a field to Object class , as in :
class Object {
...
private Object _objInfo;
}
I changed java.lang.Object's source code and recompiled openjdk 6. I get the following exception when the VM boots:
Error occurred during initialization of VM
java.lang.IllegalStateException
at java.lang.Throwable.initCause(Throwable.java:337)
at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerError.java:79)
The same problem occurs when I define my own Object class and prepended it to bootclasspath, as in:
java -Xbootclasspath/p:<path to my Object class>
Thanks, Horatiu