SegmentAllocator::allocateArray null handling is too lax

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 19
    • Affects Version/s: 19
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: