Duplicate :
|
|
Relates :
|
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
|