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

[TestBug] LocalDateTimeStringConverterTest fails with German Locale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx17
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Local test failure is observed with German Locale

      LocalDateTimeStringConverterTest.testChronologyConsistency, top of failure trace

      org.junit.ComparisonFailure: expected:<...y, January 12, 60 Sh[ō]wa, 12:34:56 PM> but was:<...y, January 12, 60 Sh[o]wa, 12:34:56 PM>
          at org.junit.Assert.assertEquals(Assert.java:123)
          at org.junit.Assert.assertEquals(Assert.java:145)
          at test.javafx.util.converter.LocalDateTimeStringConverterTest.testChronologyConsistency(LocalDateTimeStringConverterTest.java:160)

      It looks like some problem with assumptions of Locale-dependent state.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aghaisas Ajit Ghaisas
              Reporter:
              aghaisas Ajit Ghaisas
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: