RFR: 8339803: Acknowledge case insensitive unambiguous keywords in tzdata files [v2]

Sean Coffey coffeys at openjdk.org
Wed Sep 11 18:37:05 UTC 2024


On Tue, 10 Sep 2024 22:42:37 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> This is a follow on fix to [JDK-8339644](https://bugs.openjdk.org/browse/JDK-8339644). It turned out that TZ data files allow abbreviation of keywords, such as "ZO" for "Zone." Same fix, i.e, replacing `startsWith()` with `regionMatches()` was applied.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   tz files aligned with the default TzdbZoneRulesProvider list

ah yes, it's the other way around then (java zi compiler creating legacy data to match JSR 310 data) - ok, impossible to test then..  outside of setting up a build test env.

maybe you can verify with a few simple edits to a tzdata file and building.

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

Marked as reviewed by coffeys (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20940#pullrequestreview-2298211125


More information about the core-libs-dev mailing list