JDK-8340477 : Remove JDK1.1 compatible behavior for "EST", "MST", and "HST" time zones
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2024-09-19
  • Updated: 2024-10-24
  • Resolved: 2024-10-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b21Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Sub Tasks
JDK-8342463 :  
Description
The 3-letter time zone IDs, "EST", "MST", and "HST" were aliased to "America/New_York", "America/Denver", and "Pacific/Honolulu" respectively in JDK1.1. With the introduction of TZdata 2004r, these mappings were removed and they are defined as fixed time zones, such as "EST" as "-05:00." There is an internal system property "sun.timezone.ids.oldmapping" to flip the mappings to JDK1.1 compatible ones.
With the release of TZdata 2024b, those fixed offset mappings are again changed to links to other time zones. Thus the flip switch will become somewhat moot. Removing those codes that bring JDK1.1 behavior would be desirable.
Comments
Changeset: 71583222 Branch: master Author: Naoto Sato <naoto@openjdk.org> Date: 2024-10-21 17:20:50 +0000 URL: https://git.openjdk.org/jdk/commit/71583222eb221f2bae480d1f834e48527081691e
21-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21545 Date: 2024-10-16 17:46:20 +0000
16-10-2024