RFR 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes

A. Sundararajan sundararajan.athijegannathan at oracle.com
Fri Feb 6 13:38:30 UTC 2015

Please review http://cr.openjdk.java.net/~sundar/8071989/ for 

PS. Piggybacking a sample script - getclassnpe.js - to detect 
obj.getClass() call for null checks. Ran that on nashorn code and fixed 
one more such instance which got missed in the last clean-up with 


More information about the nashorn-dev mailing list