mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
Merge
This commit is contained in:
commit
9b7a8f1982
56 changed files with 2576 additions and 148 deletions
|
@ -4397,7 +4397,7 @@ public final class String
|
|||
*/
|
||||
void getBytes(byte[] dst, int srcPos, int dstBegin, byte coder, int length) {
|
||||
if (coder() == coder) {
|
||||
System.arraycopy(value, srcPos, dst, dstBegin << coder, length << coder());
|
||||
System.arraycopy(value, srcPos << coder, dst, dstBegin << coder, length << coder);
|
||||
} else { // this.coder == LATIN && coder == UTF16
|
||||
StringLatin1.inflate(value, srcPos, dst, dstBegin, length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue