-
Sub-task
-
Resolution: Duplicate
-
P3
-
None
-
9
-
None
-
generic
-
generic
jjs> (function(o){ try{with(o){return x}}finally{return x} })({x: 1})
Expected: ReferenceError
Actual: no error.
When we "inline" finally block, we start using "x" inside the 'with' scope.
Expected: ReferenceError
Actual: no error.
When we "inline" finally block, we start using "x" inside the 'with' scope.
- duplicates
-
JDK-8067139 Finally blocks inlined incorrectly
- Closed