JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local variables that are referenced in an anonymous class are not properly ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non-local variables that are referenced in an anonymous class are not properly ...
SUGGESTED FIX With the fix for 5089202, it's not obvious that simply changing the array growth formula to doubling powers of two would actually improve the situation-- it would seem better to detect overflow explicitly.
404 - Not found. Head back home or try the search bar above!
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.