Details
-
Bug
-
Resolution: Fixed
-
P2
-
None
-
None
-
b89
-
generic
-
generic
-
Verified
Description
nashorn build failure with jdk8 b84.
After a recent change (8006559: Octane:pdfjs leaks memory, runs slower iteration to iteration), nasgen step in nashorn build fails when using "ant clean jar". The error stack trace is as follows:
run-nasgen:
[java] Exception in thread "main" java.lang.VerifyError: class jdk.nashorn.internal.objects.ScriptFunctionImpl overrides final method getPrototype.()Ljava/lang/Object;
[java] at java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:751)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:448)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:70)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:360)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:353)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
[java] at jdk.nashorn.internal.tools.nasgen.StringConstants.<clinit>(StringConstants.java:55)
[java] at jdk.nashorn.internal.tools.nasgen.MemberInfo.verify(MemberInfo.java:283)
[java] at jdk.nashorn.internal.tools.nasgen.ScriptClassInfo.verify(ScriptClassInfo.java:227)
[java] at jdk.nashorn.internal.tools.nasgen.Main.process(Main.java:108)
[java] at jdk.nashorn.internal.tools.nasgen.Main.processAll(Main.java:88)
[java] at jdk.nashorn.internal.tools.nasgen.Main.main(Main.java:62)
BUILD FAILED
After a recent change (8006559: Octane:pdfjs leaks memory, runs slower iteration to iteration), nasgen step in nashorn build fails when using "ant clean jar". The error stack trace is as follows:
run-nasgen:
[java] Exception in thread "main" java.lang.VerifyError: class jdk.nashorn.internal.objects.ScriptFunctionImpl overrides final method getPrototype.()Ljava/lang/Object;
[java] at java.lang.ClassLoader.defineClass1(Native Method)
[java] at java.lang.ClassLoader.defineClass(ClassLoader.java:751)
[java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:448)
[java] at java.net.URLClassLoader.access$100(URLClassLoader.java:70)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:360)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:353)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
[java] at jdk.nashorn.internal.tools.nasgen.StringConstants.<clinit>(StringConstants.java:55)
[java] at jdk.nashorn.internal.tools.nasgen.MemberInfo.verify(MemberInfo.java:283)
[java] at jdk.nashorn.internal.tools.nasgen.ScriptClassInfo.verify(ScriptClassInfo.java:227)
[java] at jdk.nashorn.internal.tools.nasgen.Main.process(Main.java:108)
[java] at jdk.nashorn.internal.tools.nasgen.Main.processAll(Main.java:88)
[java] at jdk.nashorn.internal.tools.nasgen.Main.main(Main.java:62)
BUILD FAILED