mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8300493: Use ArraysSupport.vectorizedHashCode in j.u.zip.ZipCoder
Reviewed-by: alanb, lancea
This commit is contained in:
parent
06394ee8b1
commit
bb42e61a61
4 changed files with 112 additions and 17 deletions
|
@ -2461,6 +2461,9 @@ public final class System {
|
|||
return ModuleLayer.layers(loader);
|
||||
}
|
||||
|
||||
public int countPositives(byte[] bytes, int offset, int length) {
|
||||
return StringCoding.countPositives(bytes, offset, length);
|
||||
}
|
||||
public String newStringNoRepl(byte[] bytes, Charset cs) throws CharacterCodingException {
|
||||
return String.newStringNoRepl(bytes, cs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue