hg: jdk9/sandbox/nashorn: 8130127: streamline input parameter of Nashorn scripting $EXEC function

chris.hegarty at oracle.com chris.hegarty at oracle.com
Wed Jul 1 15:30:59 UTC 2015


Changeset: d95394322204
Author:    mhaupt
Date:      2015-07-01 16:26 +0200
URL:       http://hg.openjdk.java.net/jdk9/sandbox/nashorn/rev/d95394322204

8130127: streamline input parameter of Nashorn scripting $EXEC function
Summary: handle null and undefined correctly, do not coerce them to strings
Reviewed-by: lagergren, sundar

! samples/exec.js
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
+ test/script/nosecurity/JDK-8130127.js
+ test/script/nosecurity/JDK-8130127.js.EXPECTED
+ test/script/nosecurity/readprint.js



More information about the jdk9-sandbox-changes mailing list