javap get NegativeArraySizeException on bad instruction

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: tools
    • b23

      javap -v FuzzJvm.class

      Error: A serious internal error has occurred: java.lang.NegativeArraySizeException: -1296845643
      Please file a bug report, and include the following information:
      java.lang.NegativeArraySizeException: -1296845643
      at jdk.jdeps/com.sun.tools.classfile.Instruction.accept(Instruction.java:298)
      at jdk.jdeps/com.sun.tools.javap.CodeWriter.writeInstr(CodeWriter.java:126)
      at jdk.jdeps/com.sun.tools.javap.CodeWriter.writeInstrs(CodeWriter.java:108)
      at jdk.jdeps/com.sun.tools.javap.CodeWriter.write(CodeWriter.java:75)
      at jdk.jdeps/com.sun.tools.javap.AttributeWriter.visitCode(AttributeWriter.java:243)
      at jdk.jdeps/com.sun.tools.javap.AttributeWriter.visitCode(AttributeWriter.java:94)
      at jdk.jdeps/com.sun.tools.classfile.Code_attribute.accept(Code_attribute.java:102)
      at jdk.jdeps/com.sun.tools.javap.AttributeWriter.write(AttributeWriter.java:119)
      at jdk.jdeps/com.sun.tools.javap.ClassWriter.writeMethod(ClassWriter.java:589)
      at jdk.jdeps/com.sun.tools.javap.ClassWriter.writeMethods(ClassWriter.java:473)
      at jdk.jdeps/com.sun.tools.javap.ClassWriter.write(ClassWriter.java:271)
      at jdk.jdeps/com.sun.tools.javap.JavapTask.write(JavapTask.java:857)
      at jdk.jdeps/com.sun.tools.javap.JavapTask.writeClass(JavapTask.java:676)
      at jdk.jdeps/com.sun.tools.javap.JavapTask.run(JavapTask.java:614)
      at jdk.jdeps/com.sun.tools.javap.JavapTask.run(JavapTask.java:464)
      at jdk.jdeps/com.sun.tools.javap.Main.main(Main.java:47)

            Assignee:
            Adam Sotona
            Reporter:
            John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: