[jdk17u] RFR: 8293834: Update CLDR data following tzdata 2022c update

Andrew John Hughes andrew at openjdk.org
Sat Sep 24 03:22:15 UTC 2022


This patch updates the CLDR data following the tzdata bump in JDK-8292579.

This will be handled in trunk by a larger update to CLDRv42.

This patch was reviewed in an earlier form in 19u - https://git.openjdk.org/jdk19u/pull/26 - but I'm still waiting for this to be approved. I'm thus submitting this as a new patch to 17u to try and get it in before we freeze for the next release.

A couple of modifications from the 19u version:

* We also bring in a change from the CLDR v41 update (JDK-8265315) to use `"Kyiv"` rather than `"Kiev"` as the zone description. This change is already in 19u.
* We add `Europe/Kyiv` to the existing testcase `test/jdk/sun/util/resources/cldr/TimeZoneNamesTest.java` 

The test fails with 17.0.4 as follows:
~~~
$ grep 'AssertionError' test.1663972846/jdk/JTwork/sun/util/resources/cldr/TimeZoneNamesTest.jtr 
java.lang.AssertionError: expected [Eastern European Standard Time] but found [Kyiv Standard Time]
java.lang.AssertionError: expected [heure normale d\u2019Europe de l\u2019Est] but found [Kyiv (heure standard)]
java.lang.AssertionError: expected [Osteurop\u00e4ische Normalzeit] but found [Kyiv Normalzeit]
~~~

and passes with the patched build.

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

Commit messages:
 - 8293834: Update CLDR data following tzdata 2022c update

Changes: https://git.openjdk.org/jdk17u/pull/355/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u&pr=355&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293834
  Stats: 20 lines in 2 files changed: 18 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk17u/pull/355.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u pull/355/head:pull/355

PR: https://git.openjdk.org/jdk17u/pull/355


More information about the jdk-updates-dev mailing list