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

SegmentAllocator::allocateArray null handling is too lax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 19
    • 19
    • core-libs
    • None

    Backports

      Description

        When fixing JDK-8289188, a change was made to make SegmentAllocator::allocateArray accept nulls (and infer array size == 0). This change was not necessary, as the static compiler always creates zero-length arrays for empty varargs.

        Attachments

          Issue Links

            Activity

              People

                mcimadamore Maurizio Cimadamore
                mcimadamore Maurizio Cimadamore
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: