jdk/test/sun/tools/jrunscript/jrunscript-DTest.sh
changeset 16040 105e9859a548
parent 5506 202f599c92aa
child 41486 95980c6371d6
--- 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");