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

SegmentAllocator::allocateArray null handling is too lax

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: