<i18n dev> RFR: 8282081: java.time.DateTimeFormatter: wrong definition of symbol F

Naoto Sato naoto at openjdk.java.net
Tue Mar 1 02:29:01 UTC 2022


On Tue, 1 Mar 2022 01:47:45 GMT, Joe Wang <joehw at openjdk.org> wrote:

> Was the following assessment in the bug report correct? "the symbol F in java.time.DateTimeFormatter is no use in any pattern. It just may cause an exception."

No, not correct. It is currently incorrectly tied with the `ChronoField.ALIGNED_DAY_OF_WEEK_IN_MONTH` field, and works as such.

> If true, then it seems the compatibility risk would be low since pattern letter "F" as is currently defined is of no use.

Thus, the risk should remain `medium`. 

> Also, the CSR summary needs to be a summary of the action to be taken, that is, changing the pattern definition. The current statement is similar to the problem statement.

Thanks, modified.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7640


More information about the i18n-dev mailing list