Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8362637 Convert java.nio.ByteOrder to an enum
  3. JDK-8369837

Release Note: Convert java.nio.ByteOrder to an Enum

XMLWordPrintable

      `java.nio.ByteOrder` is converted from a class to an Enum to allow it to be used in expression switch and elsewhere the language can dispatch on an Enum.
      The ByteOrder enum is fully compatible with the prior implementation.
      The BIG_ENDIAN, LITTLE_ENDIAN, and ByteOrder.nativeOrder() values remain a simple and effective way to test for the byte order.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: