Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8066239 Fuzzing bug umbrella CR for issues reported by André Bargull
  3. JDK-8066234

Fuzzing bug: AssertionError when CodeGenerator initializes locals

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 8u60
    • core-libs
    • None

      jjs> function f() { try { undefined } catch(x4) { var x4; } finally { eval() } } f()
      Exception in thread "main" java.lang.AssertionError
         at jdk.nashorn.internal.codegen.CodeGenerator.initLocals(CodeGenerator.java:1716)
         at jdk.nashorn.internal.codegen.CodeGenerator.enterBlock(CodeGenerator.java:1113)
         at jdk.nashorn.internal.ir.Block.accept(Block.java:177)
         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.ir.FunctionNode.accept(FunctionNode.java:384)
         at jdk.nashorn.internal.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:57)
         at jdk.nashorn.internal.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47)
         at jdk.nashorn.internal.ir.FunctionNode.accept(FunctionNode.java:59)
         at jdk.nashorn.internal.codegen.CompilationPhase.transformFunction(CompilationPhase.java:732)

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

              Created:
              Updated:
              Resolved: