On 07/02/2018 22:12, joe darcy wrote:

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.

Please review the patch below which does this. (I've formatted the patch so that the change is text is made clear; I'll re-flow the paragraph before pushing.
I'm not sure that this is worth changing. You could replace "classes" with "API" and add a note to say that an implementation may use an more optimization representation but I don't think it's really needed.


Reply via email to