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

Locale matching: Weight q=0 isn't handled correctly.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 8, 9
    • core-libs
    • b131
    • Verified

    Backports

      Description

        Weight can be specified when a LanguageRange instance is created, but it isn't handled correctly on filtering and lookup operation. A language tag which is the same as a language range whose weight is 0 can be chosen as a matching locale.

        Attachments

          Issue Links

            Activity

              People

                nishjain Nishit Jain
                peytoia Yuka Kamiya (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: