On Tue, 5 May 2026 21:37:17 GMT, Naoto Sato <[email protected]> wrote:
> This fixes a regression found while backporting the fix for JDK-8382020. > > The previous fix records metazone names only when processing the default > (001) time zone for the metazone. However, it did not handle the case where > that default time zone also has its own zone-specific names. > > This does not show up in mainline for `Hawaii_Aleutian` metazone, because the > metazone's default time zone is `America/Adak`, which maps back to the > `Hawaii_Aleutian` metazone. In JDK 25, however, the default time zone for > `Hawaii_Aleutian` is `Pacific/Honolulu`, which has its own zone-specific > names so that Hawaii can use short names such as `HST`/`HDT` instead of > `HAST`/`HADT`. > > As a result, when the JDK-8382020 fix is backported to JDK 25, the > `Hawaii_Aleutian` metazone names are not generated during the build. This > change processes metazone names before zone-specific names, so the > default-zone metazone entry is still recorded even when the default zone has > its own names. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Marked as reviewed by iris (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/31046#pullrequestreview-4238425041
