RFR: 8210336: DateTimeFormatter predefined formatters should support short time zone offsets [v3]
Naoto Sato
naoto at openjdk.org
Tue Jan 27 21:22:28 UTC 2026
> This PR is a follow-on fix to [JDK-8032051](https://bugs.openjdk.org/browse/JDK-8032051), where it allowed short offsets only for ZonedDateTime parsing. This fix allows all predefined ISO formatters to accept short offsets. A corresponding CSR has been drafted.
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
Modified the test to cover all ISO formatters (sans *LOCAL*), not only the changed ones
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29393/files
- new: https://git.openjdk.org/jdk/pull/29393/files/1b253613..659e633a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29393&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29393&range=01-02
Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/29393.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29393/head:pull/29393
PR: https://git.openjdk.org/jdk/pull/29393
More information about the core-libs-dev
mailing list