typo in JLS 20
Gavin Bierman
gavin.bierman at oracle.com
Mon Nov 25 17:08:33 UTC 2024
Thank you for your suggestion.
On 23 Jun 2023, at 10:37, Pravin <pravin at zensoftech.co.in> wrote:
Hello sir/madam,
In the last para on page 44. the following sentence
Supplementary characters must be represented
either as a surrogate pair within a char sequence, or as an integer, depending on
the API they are used with.
may be replaced with
Supplementary characters must be represented
either as a surrogate pair within a java.lang.CharSequence, or as an integer, depending on
the API they are used with.
regards,
Pravin
You may find this article interesting: https://www.oracle.com/technical-resources/articles/javase/supplementary.html
You’ll find the following explanation:
This article also uses the terms character sequence or char sequence in many places to summarize all the containers of character sequences that the Java 2 Platform knows: char[], implementations of java.lang.CharSequence (such as the String class), and implementations of java.text.CharacterIterator.
I hope this explains the JLS terminology.
Many thanks,
Gavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jls-jvms-spec-comments/attachments/20241125/3e512c9c/attachment.htm>
More information about the jls-jvms-spec-comments
mailing list