Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8350525

(spec str) String.CASE_INSENSITIVE_ORDER is missing "inconsistent with equals" warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 1.2.0
    • core-libs

      String's CASE_INSENSITIVE_ORDER Comparator is inconsistent with equals. However, its field specification is missing a warning about that, and its use as a comparator for TreeMap etc. The warning should be added, along with a link to the discussion of this issue in the Comparator class.

            kbourril kevin bourrillion
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: