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 ...
A DESCRIPTION OF THE PROBLEM : GlassFish automatically supports launching of Java EE app clients using Java Web Start. Starting with Java SE 7u25 these launches fail with the stack trace supplied below (from the console output or the trace file).
(For example, "C:\Program Files\java\jdk-11.0.6" does not exceed MAX_PATH) ... This still looks like the same basic problem as JDK-8241461 to me.
FULL PRODUCT VERSION : java version "1.4.2_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03) Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode). ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [version 5.1.2600].
... code is 218>e STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1) edit and compile ... ERROR MESSAGES/STACK TRACES THAT OCCUR : Exception in thread "main ...
The code-snippet referenced in the third suggestion is, as speculated, a result of auto-generated code. The value of $LG_BYTES_PER_VALUE$ for byte is 0. I have verified that the javac compiler optimizes this shift out of the generated byte code.
FULL PRODUCT VERSION : java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing). ADDITIONAL OS VERSION INFORMATION : Microsoft Windows XP [Version 5.1.2600].