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

Clarify matching order of MessageFormat subformat factory styles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 24
    • None
    • core-libs
    • b14
    • generic
    • generic

    Description

      Format styles provided via CLDR can be equivalent. For example, a locale's date format could have SHORT == MEDIUM == FULL. Because of this, depending on the implementation, MessageFormat.toPattern() could return a style not equivalent to the one passed, based on the ordering it performs matching. The specification should be updated to state that the order of matching is not guaranteed.

      Attachments

        Issue Links

          Activity

            People

              jlu Justin Lu
              jlu Justin Lu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: