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

Print erroneous size in NegativeArraySizeException

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b16

      Backports

        Description

        message now:

        java.lang.NegativeArraySizeException: -1
        at NegativeArraySizeExceptionTest.main(NegativeArraySizeExceptionTest.java:50)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                ...

        message before

        java.lang.NegativeArraySizeException
        at NegativeArraySizeExceptionTest.main(NegativeArraySizeExceptionTest.java:50)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                ...

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                goetz Goetz Lindenmaier
                Reporter:
                goetz Goetz Lindenmaier
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: