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

Clarify matching order of MessageFormat subformat factory styles

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: