Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u60
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description


      jjs> Function("L:with(Object in Object)break L;\n{}")()
      Exception in thread "main" java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file jdk/nashorn/internal/scripts/Script$Recompilation$6$1$\^function\_
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
         at jdk.nashorn.internal.runtime.ScriptLoader.installClass(ScriptLoader.java:74)
         at jdk.nashorn.internal.runtime.Context$ContextCodeInstaller.install(Context.java:183)
         at jdk.nashorn.internal.codegen.CompilationPhase$14.transform(CompilationPhase.java:556)
         at jdk.nashorn.internal.codegen.CompilationPhase.apply(CompilationPhase.java:728)
         at jdk.nashorn.internal.codegen.Compiler.compile(Compiler.java:620)
         at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.compileTypeSpecialization(RecompilableScriptFunctionData.java:513)
         at jdk.nashorn.internal.runtime.RecompilableScriptFunctionData.getBest(RecompilableScriptFunctionData.java:730)
         ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                attila Attila Szegedi
                Reporter:
                lagergren Marcus Lagergren
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: