-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
9, 11, 17, 24, 25
-
b55
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
Clear problem in source code
A DESCRIPTION OF THE PROBLEM :
line 39 of Nashorn/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree
/ForOfLoopTreeImpl.java appears to be incorrect, asserting that the node is a for in loop not a for of loop.
REGRESSION : Last worked in version 25
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Try parsing a for .. of loop with asserts enabled
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Successful parse
ACTUAL -
An assert with an incorrect error message no less.
Clear problem in source code
A DESCRIPTION OF THE PROBLEM :
line 39 of Nashorn/src/org.openjdk.nashorn/share/classes/org/openjdk/nashorn/api/tree
/ForOfLoopTreeImpl.java appears to be incorrect, asserting that the node is a for in loop not a for of loop.
REGRESSION : Last worked in version 25
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Try parsing a for .. of loop with asserts enabled
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Successful parse
ACTUAL -
An assert with an incorrect error message no less.
- relates to
-
JDK-8074671 Nashorn Parser API
-
- Resolved
-