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

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Wed Jul 1 15:18:56 UTC 2015


Changeset: d95394322204
Author:    mhaupt
Date:      2015-07-01 16:26 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/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-dev-changes mailing list