Problem with building Sumatra
Eric Caspole
eric.caspole at oracle.com
Mon Apr 4 20:17:42 UTC 2016
I think the Sumatra JDK should build if you use JDK 8.0 or a very early
8u update as the boot jdk. It's possible later 8u updates may have
refactoring/fixes that would not work with the Sumatra JDK.
Eric
On 4/4/2016 2:50 PM, Christian Thalinger wrote:
>> On Apr 4, 2016, at 12:49 AM, geargemartinez at yahoo.com wrote:
>>
>> Hello guysI have got sumatre-dev repository and I tried to build it and test it.but when I want to build images and during the build on nashorn I got this Error ## Starting nashornRunning nasgenException in thread "main" java.lang.VerifyError: class jdk.nashorn.internal.objects.ScriptFunctionImpl overrides final method setPrototype.(Ljava/lang/Object;)V at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at jdk.nashorn.internal.tools.nasgen.StringConstants.<clinit>(StringConstants.java:85) at jdk.nashorn.internal.tools.nasgen.MemberInfo.verify(MemberInfo.java:250) at jdk.nashorn.internal.tools.nasgen.ScriptClassInfo.verify(ScriptClassInfo.java:227) at jdk.nashorn.internal.tools.nasgen.Main.process(Main.java:108) at jdk.nashorn.internal.tools.nasgen.Main.processAll(Main.java:88) at jdk.nashorn.internal.tools.nasgen.Main.main(Main.java:62)How can I fix this ?
> AMD made some changes to the core library code. Mainly hooks for Lambas to be compiled by the GPU backend, IIRC.
>
> Maybe it would be easier to wipe out all this and start fresh. The hooks are not really necessary.
>
>> Thanks
More information about the sumatra-dev
mailing list