• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • tbd
    • 10
    • core-libs
    • None

      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)
         ...

            attila Attila Szegedi
            attila Attila Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: