Skip to content

Commit 41d6dc3

Browse files
committed
8372117: Correct the misleading comment in Character.UnicodeBlock
Reviewed-by: bpb, joehw, jlu
1 parent 0187f4d commit 41d6dc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/java.base/share/classes/java/lang/Character.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,8 @@ public final String toString() {
743743
*/
744744
public static final class UnicodeBlock extends Subset {
745745
/**
746-
* NUM_ENTITIES should match the total number of UnicodeBlocks.
746+
* NUM_ENTITIES should match the total number of UnicodeBlock identifier
747+
* names plus their aliases.
747748
* It should be adjusted whenever the Unicode Character Database
748749
* is upgraded.
749750
*/

0 commit comments

Comments
 (0)