Got an error on IBM Jre,

Thread "main" java/lang/IllegalAccessError at Lock$Sync.get(Lock.java:4294967295)

However, I still don't know what is wrong in my instrumented code.  Then, I switch to Sun Jre,

Error occurred during initialization of VM
java.lang.IllegalAccessError: tried to access field IdImpl.ID from class Lock$Sync
        at Lock$Sync.get(Lock.java)


This error message is very clear, and easy to understand.  This error is cause by a copy/paste.

0 comments:

Newer Post Older Post Home