The Comparator String.CASE_INSENSITIVE_ORDER is wrong. It assumes that mapping characters to lower case is a correct way to ignore case. If this were so, regionMatches with ignore case would do this. It does not. This bug affects compareToIgnoreCase, and violates the spec. Unicode is not ASCII.
-
Josh Bloch
-
Kenneth Arnold (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved:
- Imported:
- Indexed: