There is no pair of character values in the latin1 range (0-255) that will make the Character.toLowerCase(u1) == Character.toLowerCase(u2) condition in StringLatin1.java true, so this test can be removed. Such tests are necessary in the general case, but is covered by StringLatin1.regionMatchesCI_UTF16 and StringUTF16 code.
- relates to
-
JDK-8285255 refine StringLatin1.regionMatchesCI_UTF16
-
- Closed
-