JDK-8307566 : Release Note: Support Variant Collations
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2023-05-05
  • Updated: 2023-07-28
  • Resolved: 2023-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21Resolved
Description
`java.text.Collator` now supports multiple collations for a locale. The type of collation may be specified with the [Unicode collation identifier](https://www.unicode.org/reports/tr35/#UnicodeCollationIdentifier) if the runtime provides an implementation. For example, the `Collator` instance created with the locale `sv-u-co-trad`, traditional collation in the Swedish language, may sort strings, treating `v` and `w` the same.