1.1 --- a/test/script/nosecurity/JDK-8055034.js Wed May 06 15:46:54 2015 +0200 1.2 +++ b/test/script/nosecurity/JDK-8055034.js Fri May 15 10:21:48 2015 +0200 1.3 @@ -48,7 +48,7 @@ 1.4 // we want to use nashorn.jar passed and not the one that comes with JRE 1.5 var jjsCmd = javahome + "/../bin/jjs"; 1.6 jjsCmd += " -J-Djava.ext.dirs=" + nashornJarDir; 1.7 -jjsCmd = jjsCmd.toString().replaceAll(/\//g, File.separater); 1.8 +jjsCmd = jjsCmd.toString().replace(/\//g, File.separator); 1.9 $ENV.PWD=System.getProperty("user.dir") // to avoid RE on Cygwin 1.10 $EXEC(jjsCmd, "var x = Object.create(null);\nx;\nprint('PASSED');\nexit(0)"); 1.11