RFR: 8210336: DateTimeFormatter predefined formatters should support short time zone offsets [v4]

Naoto Sato naoto at openjdk.org
Tue Jan 27 23:56:36 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:

  +00/-00 offsets tests

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29393/files
  - new: https://git.openjdk.org/jdk/pull/29393/files/659e633a..257272e2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29393&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29393&range=02-03

  Stats: 40 lines in 1 file changed: 22 ins; 5 del; 13 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