Validation missing for LineNumber::of() and throws undocumented AIOOB Execption.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 26
    • Affects Version/s: 25
    • Component/s: core-libs
    • None

      LineNumber.of(-1) and LineNumber.of(Integer.MAX_VALUE + 1) throws "java.lang.ArrayIndexOutOfBoundsException: Index -20000000 out of bounds for length 1000"
      This exception is not documented.

            Assignee:
            Chen Liang
            Reporter:
            Prabushankar Chinnasamy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: