changeset 679:b375d261e56c

8028573: Line number nodes were off for while nodes and do while nodes - the line number of a loop node should be treated as the location of the test expression Reviewed-by: attila, hannesw
author lagergren
date Tue, 19 Nov 2013 10:29:32 +0100
parents bce2bbfb35ae
children 73d741231651 a26f4de458d4
files test/script/basic/JDK-8028434.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/script/basic/JDK-8028434.js	Mon Nov 18 16:35:39 2013 +0100
+++ b/test/script/basic/JDK-8028434.js	Tue Nov 19 10:29:32 2013 +0100
@@ -38,7 +38,7 @@
     if (st.length != 1) {
 	print("erroneous stacktrace length " + s.length);
     }
-    if (st[0].lineNumber !== 32) {
+    if (st[0].lineNumber !== 33) {
 	print("erroneous stacktrace element, lineNumber=" + st[0].lineNumber + " elem=" + st);
     }
 }
@@ -52,7 +52,7 @@
     if (st.length != 1) {
 	print("erroneous stacktrace length " + s.length);
     }
-    if (st[0].lineNumber !== 48) {
+    if (st[0].lineNumber !== 49) {
 	print("erroneous stacktrace element, lineNumber= " + st[0].lineNumber + " elem=" + st);
     }
 }