hg: jdk9/sandbox/nashorn: 8080087: Nashorn $ENV.PWD is originally undefined

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Jun 5 11:01:04 UTC 2015


Changeset: 0eeaadd17fff
Author:    mhaupt
Date:      2015-06-05 12:38 +0200
URL:       http://hg.openjdk.java.net/jdk9/sandbox/nashorn/rev/0eeaadd17fff

8080087: Nashorn $ENV.PWD is originally undefined
Summary: On Windows, the PWD environment variable does not exist and cannot be imported in scripting mode, so it is set explicitly.
Reviewed-by: lagergren, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/Global.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptingFunctions.java
+ test/script/nosecurity/JDK-8080087.js



More information about the jdk9-sandbox-changes mailing list