ByteOrder.class object serial form is incompatible

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: core-libs
    • None

      The conversion of java.nio.ByteOrder (JDK-8362637) from a class to an Enum created an incompatibility of the serialized form of the class object.
      ByteOrder instances previously were not Serializable, no serialized instances exist.
      The Serialization specification identifies compatibility constraints on the class objects themselves and allowed class evolution changes.
      When deserializing a class object, it is incompatible to map that class to a local class that is an Enum.
      The exception thrown is `InvalidClassException: cannot bind non-enum descriptor to an enum class`.

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: