Details
-
Bug
-
Resolution: Fixed
-
P3
-
22
-
b21
Description
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.
“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.
Attachments
Issue Links
- csr for
-
JDK-8318567 Specification of the ListFormat.equals() method can be improved
-
- Closed
-
- relates to
-
JDK-8318569 Add getter methods for Locale and Patterns in ListFormat
-
- Resolved
-