--- a/nashorn/test/script/nosecurity/JDK-8050964.js Fri May 15 10:19:37 2015 +0200
+++ b/nashorn/test/script/nosecurity/JDK-8050964.js Fri May 15 10:21:48 2015 +0200
@@ -47,9 +47,9 @@
}
var javahome = System.getProperty("java.home");
-var jdepsPath = javahome + "/../bin/jdeps".replaceAll(/\//g, File.separater);
+var jdepsPath = javahome + "/../bin/jdeps".replace(/\//g, File.separator);
if (! new File(jdepsPath).isFile()) {
- jdepsPath = javahome + "/bin/jdeps".replaceAll(/\//g, File.separater);
+ jdepsPath = javahome + "/bin/jdeps".replace(/\//g, File.separator);
}
// run jdep on nashorn.jar - only summary but print profile info