8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output
Reviewed-by: jlaskey, lagergren, ksrini
--- a/jdk/test/sun/tools/jrunscript/jrunscriptTest.sh Tue Jun 03 18:31:13 2014 +0400
+++ b/jdk/test/sun/tools/jrunscript/jrunscriptTest.sh Tue Jun 03 21:21:32 2014 +0530
@@ -42,7 +42,7 @@
rm -f jrunscriptTest.out 2>/dev/null
${JRUNSCRIPT} -J-Djava.awt.headless=true -l nashorn > jrunscriptTest.out 2>&1 <<EOF
v = 2 + 5;
-v *= 5;
+v *= 5; v.doubleValue();
v = v + " is the value";
if (v != 0) { println('yes v != 0'); }
java.lang.System.out.println('hello world from script');