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

Specification of the ListFormat.equals() method can be improved

XMLWordPrintable

    • b21

      https://download.java.net/java/early_access/jdk22/docs/api/java.base/java/text/ListFormat.html#equals(java.lang.Object)
      “Checks if this ListFormat is equal to another ListFormat. The comparison is based on the Locale and formatting patterns, given or generated with Locale, Type, and Style.”

      - "generated with Locale, Type, and Style.” might mean that any of these proeprties mismatch lead to un equal instances. But looks not the case.



            naoto Naoto Sato
            kganapureddy Krushnareddy Ganapureddy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: