-
Bug
-
Resolution: Duplicate
-
P3
-
9
-
None
-
generic
-
generic
print((function() { L: { { break L; } throw x; } return "hello world"; })());
prints "undefined" instead of "hello world".
Note that taking away {} from around the break statement produces the correct result:
print((function() { L: { break L; throw x; } return "hello world"; })());
prints "undefined" instead of "hello world".
Note that taking away {} from around the break statement produces the correct result:
print((function() { L: { break L; throw x; } return "hello world"; })());
- duplicates
-
JDK-8177691 Labeled break in catch and finally works wrongly, when invoked through nashorn
-
- Resolved
-
- relates to
-
JDK-8047357 Function("switch((null >> x3)) { default: {var x; break ; }\nthrow x; }")() results in AssertionError in LocalVariableTypesCalculator
-
- Resolved
-