-
Enhancement
-
Resolution: Fixed
-
P4
-
26
-
master
JavaLangAccess has a method (newStringUTF8NoRepl) to create a String from UTF8 that is solely used by ZipCoder. The buffer from ZipCoder should not be shared and added an additional argument to String.newStringUTF8NoRepl.
If ZipCoder copies the byte array it can call JLA.uncheckedNewStringNoRepl(byte[] bytes, Charset cs)
and the String code can be simplified.
If ZipCoder copies the byte array it can call JLA.uncheckedNewStringNoRepl(byte[] bytes, Charset cs)
and the String code can be simplified.
- relates to
-
JDK-8356439 Rename JavaLangAccess::*NoRepl methods
-
- In Progress
-
- links to
-
Commit(master) openjdk/jdk/55e7494d
-
Review(master) openjdk/jdk/26822