[jdk8u] RFR: 8339644: Improve parsing of Day/Month in tzdata rules
Dmitry Cherepanov
dcherepanov at openjdk.org
Tue Dec 10 19:17:00 UTC 2024
The backport is a prerequisite for timezone data update to 2024b. Targeting the PR to jdk8u repo (January release).
The change doesn’t apply cleanly. In JDK9, JDK-8042369 rewrote the builder classes but it’s too large to backport to 8u so I adopted 11u backport for 8u codebase. The test change applies cleanly after path reshuffling except copyright year.
Testing: jtreg tests (java/text/Format java/util/TimeZone sun/util/calendar sun/util/resources). Sanity checked that tzdata-2024b (rearguard version) fails to build (“Unknown month: April”) without the changes and builds with the changes.
Thanks.
-------------
Commit messages:
- Backport 86a2f9c7dcb6585cabf03c0940511d11560e85b7
Changes: https://git.openjdk.org/jdk8u/pull/64/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u&pr=64&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8339644
Stats: 88 lines in 3 files changed: 32 ins; 28 del; 28 mod
Patch: https://git.openjdk.org/jdk8u/pull/64.diff
Fetch: git fetch https://git.openjdk.org/jdk8u.git pull/64/head:pull/64
PR: https://git.openjdk.org/jdk8u/pull/64
More information about the jdk8u-dev
mailing list