-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
None
java.io.OptionalDataException has only package private constructors.
To ease its use by non-JDK serialization mechanisms it should have public constructors.
The public fields for eof and length are another anomaly. Adding getter methods would be a useful addition and deprecating the public fields.
To ease its use by non-JDK serialization mechanisms it should have public constructors.
The public fields for eof and length are another anomaly. Adding getter methods would be a useful addition and deprecating the public fields.
- relates to
-
JDK-8284046 reconsider cleanup of OptionalDataException
-
- Open
-