-
Bug
-
Resolution: Duplicate
-
P3
-
8u40
-
generic
-
generic
To reproduce:
sync nashorn-staging to latest.
remove the check
if (compiler.getCompilationEnvironment().isCompileRestOf()) {
return false;
}
from undefinedCheck in CodeGenerator.java
run
function(x) {
return undefined === x;
}
f(17);
Kaboom! Nullpointer exception
sync nashorn-staging to latest.
remove the check
if (compiler.getCompilationEnvironment().isCompileRestOf()) {
return false;
}
from undefinedCheck in CodeGenerator.java
run
function(x) {
return undefined === x;
}
f(17);
Kaboom! Nullpointer exception
- duplicates
-
JDK-8043235 Type-based optimizations interfere with continuation methods
-
- Closed
-
- relates to
-
JDK-8044803 Unnecessary restOf check in CodeGenerator.undefinedCheck
-
- Resolved
-