Withdrawn: 8341484: TimeZone.toZoneId() throws exception when using old mapping for "HST"

Justin Lu jlu at openjdk.org
Tue Oct 8 18:05:06 UTC 2024


On Thu, 3 Oct 2024 19:46:48 GMT, Justin Lu <jlu at openjdk.org> wrote:

> Please review this PR which fixes an unexpected exception for `TimeZone.toZoneId("HST")` when the old mapping system property is used.
> 
> The culprit is in `TimeZone.toZoneId0()`.
> 
> This method provides workarounds for "EST", "MST", and "HST" when the old mapping system property is true. However, it seems that "HST" was added with "America/Honolulu" when it should have been "Pacific/Honolulu".
> 
> Added a basic test.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/21332


More information about the core-libs-dev mailing list