changeset 9973:32da0264fef1

8044647: sun/tools/jrunscript/jrunscriptTest.sh start failing: Output of jrunscript -l nashorn differ from expected output Reviewed-by: jlaskey, lagergren, ksrini
author sundar
date Wed, 10 Sep 2014 17:11:27 +0530
parents 83330ef35e7b
children a2c6523d7985
files test/sun/tools/jrunscript/jrunscriptTest.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/tools/jrunscript/jrunscriptTest.sh	Thu Jan 16 18:20:31 2014 +0100
+++ b/test/sun/tools/jrunscript/jrunscriptTest.sh	Wed Sep 10 17:11:27 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');