RFR 8071989: NashornScriptEngine returns javax.script.ScriptContext instance with insonsistent get/remove methods behavior for undefined attributes
Marcus Lagergren
marcus.lagergren at oracle.com
Fri Feb 6 14:09:06 UTC 2015
+1
> On 06 Feb 2015, at 14:38, A. Sundararajan <sundararajan.athijegannathan at oracle.com> wrote:
>
> Please review http://cr.openjdk.java.net/~sundar/8071989/ for https://bugs.openjdk.java.net/browse/JDK-8071989
>
> 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 JDK-8072595
>
> Thanks,
> -Sundar
More information about the nashorn-dev
mailing list