JDK-8342886 : Update MET timezone in TimeZoneNames files
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.time
  • Affected Version: 23,24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-10-23
  • Updated: 2025-05-08
  • Resolved: 2025-04-30
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 25
25 b21Fixed
Related Reports
Relates :  
Relates :  
Description
MET timezone entry in TimeZoneNames.java and TimeZoneNames_*.java needs to be updated as MET is alias to Europe/Brussels as per 2024b tzdata changes 

Changes to be made:

Update the below entry in TimeZoneNames files
{"MET", new String[] {"Middle Europe Time", "MET",
                                  "Middle Europe Summer Time", "MEST",
                                  "Middle Europe Time", "MET"}}
to  
{"MET", CET}

Though the changes are specific to COMPAT provider but the file is still used for the case where users intentionally remove CLDR provider as a fallback. 

Changes are not applicable for jdk update versions 21 and lower as it is handled as part of tz2024b changes

Also  Bug4848242.java needs to be removed as the test expects all euro locale time zones should have the same short names. This assumption is no longer correct as for German locale, short name changed to MEZ and for other euro locales short name changed to CET
Comments
Changeset: 66122811 Branch: master Author: Gautham Krishnan <140151984+gauthamkrishnanibm@users.noreply.github.com> Committer: Naoto Sato <naoto@openjdk.org> Date: 2025-04-30 16:06:22 +0000 URL: https://git.openjdk.org/jdk/commit/66122811aae02caaa0545a7b6dd1fdb06b186f00
30-04-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/24871 Date: 2025-04-25 09:57:38 +0000
25-04-2025

Although COMPAT provider was removed in JDK23, these locale names files for fallback are still needed (thus updates are required)
23-10-2024