-
Bug
-
Resolution: Fixed
-
P3
-
8u40, 9
-
None
-
b39
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085776 | emb-9 | Hannes Wallnoefer | P3 | Resolved | Fixed | team |
JDK-8065524 | 8u45 | Hannes Wallnoefer | P3 | Resolved | Fixed | b01 |
JDK-8063131 | 8u40 | Hannes Wallnoefer | P3 | Resolved | Fixed | b15 |
JDK-8070513 | emb-8u47 | Hannes Wallnoefer | P3 | Resolved | Fixed | team |
This situation default for 8u40 and reproduce for jdk9 with --optimistic-types=false
For reproduce I run the same command :
jjs --persistent-code-cache=true --optimistic-types=false array-micro.js
for jdk9 b36 and b33 and i had error:
Exception in thread "main" java.lang.NullPointerException
at jdk.nashorn.internal.runtime.Context.install(Context.java:1237)
at jdk.nashorn.internal.runtime.Context.compile(Context.java:1180)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1111)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:556)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:317)
at jdk.nashorn.tools.Shell.run(Shell.java:169)
at jdk.nashorn.tools.Shell.main(Shell.java:133)
at jdk.nashorn.tools.Shell.main(Shell.java:112)
If i remote nashorn_code_cache this Exception don't reproduce.
For reproduce I run the same command :
jjs --persistent-code-cache=true --optimistic-types=false array-micro.js
for jdk9 b36 and b33 and i had error:
Exception in thread "main" java.lang.NullPointerException
at jdk.nashorn.internal.runtime.Context.install(Context.java:1237)
at jdk.nashorn.internal.runtime.Context.compile(Context.java:1180)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1111)
at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:556)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:317)
at jdk.nashorn.tools.Shell.run(Shell.java:169)
at jdk.nashorn.tools.Shell.main(Shell.java:133)
at jdk.nashorn.tools.Shell.main(Shell.java:112)
If i remote nashorn_code_cache this Exception don't reproduce.
- backported by
-
JDK-8063131 Different versions of nashorn use same code cache directory
-
- Resolved
-
-
JDK-8065524 Different versions of nashorn use same code cache directory
-
- Resolved
-
-
JDK-8070513 Different versions of nashorn use same code cache directory
-
- Resolved
-
-
JDK-8085776 Different versions of nashorn use same code cache directory
-
- Resolved
-
- relates to
-
JDK-8046921 Deoptimization type information peristence
-
- Resolved
-
-
JDK-8062384 Code cache was saved in current directory
-
- Closed
-
(1 relates to)