8372117: Correct the misleading comment in Character.UnicodeBlock

Reviewed-by: bpb, joehw, jlu
This commit is contained in:
Naoto Sato 2025-11-20 18:53:37 +00:00
parent 0187f4df96
commit 41d6dc3a15

View File

@ -743,7 +743,8 @@ class Character implements java.io.Serializable, Comparable<Character>, Constabl
*/
public static final class UnicodeBlock extends Subset {
/**
* NUM_ENTITIES should match the total number of UnicodeBlocks.
* NUM_ENTITIES should match the total number of UnicodeBlock identifier
* names plus their aliases.
* It should be adjusted whenever the Unicode Character Database
* is upgraded.
*/