java.lang.classfile.Signature.ArrayTypeSig.of IAE not thrown for dims > 255

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 25
    • Affects Version/s: 25
    • Component/s: core-libs
    • None

      java.lang.classfile.Signature.ArrayTypeSig.of:
      1. System.out.println("ArrayTypeSig: " + Signature.ArrayTypeSig.of(255, Signature.parseFrom("[I"))); -> resulting dimension would be 256 and hence should throw IAE

      2. IAE for dimensions outside of range 1-255 has to be mentioned instead of '> 256'

            Assignee:
            Adam Sotona
            Reporter:
            Prashanthram Gundarlahally
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: