JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... Middle(Outer) // constructor for Outer.Middle 0 aload_0 1 aload_1 2 ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... Middle(Outer) // constructor for Outer.Middle 0 aload_0 1 aload_1 2 ...
The workaround is of course simple: Dont make your fields public. Unfortunately this is difficult when using software that is affected by this bug and for which no source code is available. It simply breaks when changing from Java 6 to Java 7 without giving any error messages.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Attempt to compile the following class under Java 7: import java.util.List; import java.util.SetERROR MESSAGES/STACK TRACES THAT OCCUR : See "actual result".
export/kvn/jdk6u25/fastdebug/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:-UnrollLimitCheck -XX:CICompilerCount=1 -Xbatch -Xcomp t # #. A fatal error has been detected by the Java Runtime Environment