-
Sub-task
-
Resolution: Fixed
-
P4
-
10
-
None
-
generic
-
generic
jjs> function f() { try { undefined } catch(x1) { try { undefined } catch(x2) { x1 = 0; } } } f()
Exception in thread "main" java.lang.AssertionError
at jdk.nashorn.internal.ir.Symbol.getSlot(Symbol.java:558)
at jdk.nashorn.internal.codegen.MethodEmitter.load(MethodEmitter.java:953)
at jdk.nashorn.internal.codegen.MethodEmitter.emitLocalVariableConversion(MethodEmitter.java:2519)
at jdk.nashorn.internal.codegen.MethodEmitter.beforeJoinPoint(MethodEmitter.java:2492)
at jdk.nashorn.internal.codegen.CodeGenerator.leaveBlock(CodeGenerator.java:1126)
at jdk.nashorn.internal.ir.Block.accept(Block.java:178)
at jdk.nashorn.internal.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:57)
at jdk.nashorn.internal.ir.Block.accept(Block.java:425)
at jdk.nashorn.internal.codegen.CodeGenerator.enterTryNode(CodeGenerator.java:3088)
at jdk.nashorn.internal.ir.TryNode.accept(TryNode.java:110)
...
Exception in thread "main" java.lang.AssertionError
at jdk.nashorn.internal.ir.Symbol.getSlot(Symbol.java:558)
at jdk.nashorn.internal.codegen.MethodEmitter.load(MethodEmitter.java:953)
at jdk.nashorn.internal.codegen.MethodEmitter.emitLocalVariableConversion(MethodEmitter.java:2519)
at jdk.nashorn.internal.codegen.MethodEmitter.beforeJoinPoint(MethodEmitter.java:2492)
at jdk.nashorn.internal.codegen.CodeGenerator.leaveBlock(CodeGenerator.java:1126)
at jdk.nashorn.internal.ir.Block.accept(Block.java:178)
at jdk.nashorn.internal.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:57)
at jdk.nashorn.internal.ir.Block.accept(Block.java:425)
at jdk.nashorn.internal.codegen.CodeGenerator.enterTryNode(CodeGenerator.java:3088)
at jdk.nashorn.internal.ir.TryNode.accept(TryNode.java:110)
...