-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b07
Running any jjs script with -Xlog:exceptions, e.g., jjs -J-Xlog:exceptions hello.js[1], shows a number of suspect IAEs that indicate there's a missing module export, somewhere:
[0.990s][info][exceptions] Exception <a 'java/lang/IllegalAccessException'{0x00000005cb15a2b8}: symbolic reference class is not accessible: class jdk.nashorn.internal.objects.NativeArray, from public Lookup>
thrown in interpreter method <{method} {0x00007f519879da38} 'canBeCached' '(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Z' in 'java/lang/invoke/MethodHandles$Lookup'>
at bci 122 for thread 0x00007f51d0011000 (main)
[1] hello.js:
print("hello");
exit(0);
[0.990s][info][exceptions] Exception <a 'java/lang/IllegalAccessException'{0x00000005cb15a2b8}: symbolic reference class is not accessible: class jdk.nashorn.internal.objects.NativeArray, from public Lookup>
thrown in interpreter method <{method} {0x00007f519879da38} 'canBeCached' '(BLjava/lang/Class;Ljava/lang/invoke/MemberName;)Z' in 'java/lang/invoke/MethodHandles$Lookup'>
at bci 122 for thread 0x00007f51d0011000 (main)
[1] hello.js:
print("hello");
exit(0);