nashorn/test/script/nosecurity/JDK-8050964.js
changeset 30698 2d50f5564f7b
parent 27824 ab74da77b5a2
child 31491 bba9c22de331
--- 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