Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8244843

[JDK 8u] JapanEraNameCompatTest fails

    Details

      Description

      One of the failing tier1 tests in OpenJDK 8u is:
      test/java/util/Calendar/JapanEraNameCompatTest.java

      It fails with:
      java.lang.AssertionError: expected [Reiva] but found [\u0420\u0435\u0438\u0432\u0430]
              at org.testng.Assert.fail(Assert.java:94)
      test JapanEraNameCompatTest.testChronoJapanEraDisplayName(no, "Reiwa", "R"): failure
      java.lang.AssertionError: expected [R] but found [Reiwa]

      This issue got introduced with the backport of JDK-8218781. Locale data isn't up-to-date enough. Hence the test fails. The proposal is to include parts of JDK-8008577 and JDK-8145136 which is how this is being fixed in later JDKs.

      More information here:
      http://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-March/011365.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sgehwolf Severin Gehwolf
                Reporter:
                sgehwolf Severin Gehwolf
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: