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.
- csr for
-
JDK-8338921 Clarify matching order of MessageFormat subformat factory styles
- Closed
- links to
-
Commit(master) openjdk/jdk/b840b130
-
Review(master) openjdk/jdk/20695