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

Fuzzing bug: Invalid pc in LineNumberTable, ClassFormatError

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8u60
    • core-libs
    • None


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

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

              Created:
              Updated:
              Resolved: