-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
JDK 8-b82 (32-bit JDK)
Windows 7
Ant 1.8.2
-
b82
-
-
b84
-
generic
-
generic
I get the following error when building the JavaFX samples using JDK 8-b82 (it works with b81):
C:\cygwin\tmp\jdk8-nashorn-error\src\BouncingBalls\nbproject\jfx-impl.xml:961: java.lang.VerifyError: Code generation bug in "runScript": likely stack misaligned: java.lang.ArrayIndexOutOfBoundsException: 0 <eval>
at jdk.nashorn.internal.codegen.CodeGenerator.leave(CodeGenerator.java:1003)
at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:339)
at jdk.nashorn.internal.codegen.CompilationPhase$7.transform(CompilationPhase.java:239)
at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:372)
at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:263)
at jdk.nashorn.internal.runtime.Context.compile(Context.java:758)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:720)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:358)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:463)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:451)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:379)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:134)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:487)
at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:487)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at jdk.internal.org.objectweb.asm.Frame.merge(Frame.java:1408)
at jdk.internal.org.objectweb.asm.Frame.merge(Frame.java:1364)
at jdk.internal.org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1382)
at jdk.nashorn.internal.codegen.MethodEmitter.end(MethodEmitter.java:198)
at jdk.nashorn.internal.codegen.CodeGenerator.leave(CodeGenerator.java:1000)
... 37 more
C:\cygwin\tmp\jdk8-nashorn-error\src\BouncingBalls\nbproject\jfx-impl.xml:961: java.lang.VerifyError: Code generation bug in "runScript": likely stack misaligned: java.lang.ArrayIndexOutOfBoundsException: 0 <eval>
at jdk.nashorn.internal.codegen.CodeGenerator.leave(CodeGenerator.java:1003)
at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:339)
at jdk.nashorn.internal.codegen.CompilationPhase$7.transform(CompilationPhase.java:239)
at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:372)
at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:263)
at jdk.nashorn.internal.runtime.Context.compile(Context.java:758)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:720)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:358)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:463)
at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:451)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:379)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:134)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:487)
at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108)
at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)
at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)
at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:487)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:809)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at jdk.internal.org.objectweb.asm.Frame.merge(Frame.java:1408)
at jdk.internal.org.objectweb.asm.Frame.merge(Frame.java:1364)
at jdk.internal.org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1382)
at jdk.nashorn.internal.codegen.MethodEmitter.end(MethodEmitter.java:198)
at jdk.nashorn.internal.codegen.CodeGenerator.leave(CodeGenerator.java:1000)
... 37 more
- is blocked by
-
JDK-8010709 org on the top level doesn't resolve
- Closed
-
JDK-8010710 Code generation problem with slots/scope
- Closed
-
JDK-8010720 Linkage problem with java.lang.String.length()
- Closed