--- a/jdk/test/sun/tools/jrunscript/jrunscript-DTest.sh Wed Feb 27 14:24:45 2013 +0000
+++ b/jdk/test/sun/tools/jrunscript/jrunscript-DTest.sh Wed Feb 27 20:34:12 2013 +0530
@@ -43,7 +43,7 @@
# to script as java.lang.System property. sysProps is
# jrunscript shell built-in variable for System properties.
-${JRUNSCRIPT} -Djrunscript.foo=bar <<EOF
+${JRUNSCRIPT} -l nashorn -Djrunscript.foo=bar <<EOF
if (sysProps["jrunscript.foo"] == "bar") { println("Passed"); exit(0); }
// unexpected value
println("Unexpected System property value");