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
This commit is contained in:
parent
19fd00c362
commit
ea4af3f2f1
@ -38,7 +38,7 @@ try {
|
||||
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 @@ try {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user