nashorn/test/script/nosecurity/JDK-8050964.js
changeset 27811 e415087c78aa
parent 26067 b32ccc3a76c9
child 27824 ab74da77b5a2
--- a/nashorn/test/script/nosecurity/JDK-8050964.js	Wed Jul 05 20:07:55 2017 +0200
+++ b/nashorn/test/script/nosecurity/JDK-8050964.js	Mon Nov 17 14:57:28 2014 +0300
@@ -50,6 +50,7 @@
 var jdepsPath = javahome + "/../bin/jdeps".replaceAll(/\//g, File.separater);
 
 // run jdep on nashorn.jar - only summary but print profile info
+$ENV.PWD=System.getProperty("user.dir") // to avoid RE on Cygwin
 `${jdepsPath} -s -P ${nashornJar.absolutePath}`
 
 // check for "(compact1)" in output from jdep tool