Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8273259: Character.getName doesn't follow Unicode spec for ideographs #5354

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -11312,9 +11312,11 @@ public static char reverseBytes(char ch) {
*
* }</blockquote>
*
* The name returned by this method does not follow the naming
* scheme defined in the "Unicode Name Property" section in the Unicode
* Standard.
* For the {@code codePoint}s in the <i>UnicodeData</i> file, the name
* returned by this method follows the naming scheme in the
* "Unicode Name Property" section of the Unicode Standard. For other
* code points, such as Hangul/Ideographs, The name generation rule above
* differs from the one defined in the Unicode Standard.
*
* @param codePoint the character (Unicode code point)
*
@@ -11363,9 +11365,11 @@ public static String getName(int codePoint) {
* The {@code name} matching is case insensitive, with any leading and
* trailing whitespace character removed.
*
* This method recognizes the character name generated with
* {@link #getName(int)}, which differs from the name defined in the
* "Unicode Name Property" section in the Unicode Standard.
* For the code points in the <i>UnicodeData</i> file, this method
* recognizes the name which conforms to the name defined in the
* "Unicode Name Property" section in the Unicode Standard. For other
* code points, this method recognizes the name generated with
* {@link #getName(int)} method.
*
* @param name the character name
*