-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
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`.
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`.
- caused by
-
JDK-8362637 Convert java.nio.ByteOrder to an enum
-
- Resolved
-