This commit is contained in:
Jesper Wilhelmsson 2018-12-19 20:53:30 +01:00
commit f4f859b446
111 changed files with 2694 additions and 1212 deletions

View file

@ -664,7 +664,7 @@ public final class String
* object.
*/
public int length() {
return isLatin1() ? value.length : value.length >> UTF16;
return value.length >> coder();
}
/**