Text in java.lang.Character states a UTF-16 character encoding is used for java.lang.String. While was true for many years, it is not necessarily true and not true in practice as of JDK 9 due to the improvements from JEP 254: Compact Strings.
The statement about the encoding should be corrected.
The statement about the encoding should be corrected.
- relates to
-
JDK-8191410 Update Unicode Data Files to 10.0.0
-
- Resolved
-
-
JDK-8054307 JEP 254: Compact Strings
-
- Closed
-