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.

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

Commit messages:
 - init

Changes: https://git.openjdk.org/jdk/pull/21332/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21332&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341484
  Stats: 25 lines in 2 files changed: 19 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/21332.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21332/head:pull/21332

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

Reply via email to