8343925: [BACKOUT] JDK-8342650 Move getChars to DecimalDigits

Reviewed-by: jpai, alanb, liach
This commit is contained in:
Shaojin Wen 2024-11-11 15:14:10 +00:00
parent 0759224edc
commit b0a371b085
12 changed files with 376 additions and 405 deletions

View file

@ -2648,6 +2648,14 @@ public final class System {
return str.coder();
}
public int getCharsLatin1(long i, int index, byte[] buf) {
return StringLatin1.getChars(i, index, buf);
}
public int getCharsUTF16(long i, int index, byte[] buf) {
return StringUTF16.getChars(i, index, buf);
}
public String join(String prefix, String suffix, String delimiter, String[] elements, int size) {
return String.join(prefix, suffix, delimiter, elements, size);
}