-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
-
b12
JLA.uncheckedNewStringNoRepl is overkill for many of its uses inside java.base.
The uses case is creating a String from a byte array containing latin1 character.
Even though it is known that creating a String from the bytes will not throw an exception the declared CharacterCodingException forces handling a non-occuring exception.
The uses case is creating a String from a byte array containing latin1 character.
Even though it is known that creating a String from the bytes will not throw an exception the declared CharacterCodingException forces handling a non-occuring exception.
- relates to
-
JDK-8356439 Rename JavaLangAccess::*NoRepl methods
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk/884076f6
-
Review(master)
openjdk/jdk/26831