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

SegmentAllocator array factories should use varargs

XMLWordPrintable

      SegmentAllocator factories such as:

      default MemorySegment allocateArray(ValueLayout.OfByte elementLayout, byte[] array);

      Should accept a trailing varargs instead - so as to be more usable in cases where the array elements are known statically.

            jboes Julia Boes (Inactive)
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: