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
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
- relates to
-
JDK-8339637 (tz) Update Timezone Data to 2024b
- Resolved
-
JDK-8174269 Remove COMPAT locale data provider from JDK
- Resolved