[jdk8u-dev] Integrated: 8350816: [8u] Update TzdbZoneRulesCompiler to ignore HST/EST/MST links

Dmitry Cherepanov dcherepanov at openjdk.org
Fri Feb 28 10:35:18 UTC 2025


On Wed, 26 Feb 2025 22:17:08 GMT, Dmitry Cherepanov <dcherepanov at openjdk.org> wrote:

> This is 8u-specific issue. It's a prerequisite for backport of 2024b ([JDK-8339637](https://bugs.openjdk.org/browse/JDK-8339637)) as backporting 2024b to 8u as is leads to the following failure
> 
> java.lang.IllegalArgumentException: Unknown region: HST
> 	at build.tools.tzdb.TzdbZoneRulesCompiler.findRegionIndex(TzdbZoneRulesCompiler.java:290)
> 	at build.tools.tzdb.TzdbZoneRulesCompiler.outputFile(TzdbZoneRulesCompiler.java:259)
> 	at build.tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:193)
> 	at build.tools.tzdb.TzdbZoneRulesCompiler.main(TzdbZoneRulesCompiler.java:91)
> 
> [JDK-8042369](https://bugs.openjdk.org/browse/JDK-8042369) updated the compiler to ignore HST/EST/MST links in 9+  (https://hg.openjdk.org/jdk9/jdk9/jdk/rev/6c26f18d9bc0#l8.139) so the failure didn't appear with backports of 2024b to 11+
> 
> The patch changes the compiler in 8u to ignore HST/EST/MST links and work in the same way as it works for 11+
> 
> Testing: all relevant tests passed (java/text/Format java/util/TimeZone sun/util/calendar sun/util/resources)

This pull request has now been integrated.

Changeset: 6a7d8939
Author:    Dmitry Cherepanov <dcherepanov at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/6a7d893928b3fde9ee3ebff9782620f9ae1be358
Stats:     3 lines in 1 file changed: 3 ins; 0 del; 0 mod

8350816: [8u] Update TzdbZoneRulesCompiler to ignore HST/EST/MST links

Reviewed-by: serb, sgehwolf

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

PR: https://git.openjdk.org/jdk8u-dev/pull/630


More information about the jdk8u-dev mailing list