-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: core-libs
-
b133
-
Not verified
A cleanup pass over code under src/java.base/share/classes/java/io:
- special handling of a null arg can be replaced with using String.valueOf()
- in ObjectInput[Output]Stream checking/putting into map can be replaced with a single call to computeIfAbsent();
- in ObjectStreamClass.getPackageName() one call to String.substing() can be avoided;
and a few other cleanups.
- special handling of a null arg can be replaced with using String.valueOf()
- in ObjectInput[Output]Stream checking/putting into map can be replaced with a single call to computeIfAbsent();
- in ObjectStreamClass.getPackageName() one call to String.substing() can be avoided;
and a few other cleanups.
- relates to
-
JDK-8164228 Test java/io/StringBufferInputStream/OverflowInRead.java fail intermittently
-
- Closed
-