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). This pull request has now been integrated. Changeset: e3241741 Author: Naoto Sato <[email protected]> URL: https://git.openjdk.org/jdk/commit/e3241741484fff5f1504585241d90236e7b5186b Stats: 42 lines in 1 file changed: 22 ins; 16 del; 4 mod 8383825: Incorrect handling of Hawaii_Aleutian metazone Reviewed-by: jlu, iris ------------- PR: https://git.openjdk.org/jdk/pull/31046
