8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output
authorsundar
Tue, 03 Jun 2014 21:21:32 +0530
changeset 24703 eab580c8d49c
parent 24702 9d083d86c06a
child 24704 76581302d209
8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output Reviewed-by: jlaskey, lagergren, ksrini
jdk/test/sun/tools/jrunscript/jrunscriptTest.sh
--- 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');