Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264561

javap get NegativeArraySizeException on bad instruction

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • tools
    • b23

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              asotona Adam Sotona
              jjiang John Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: