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

[TestBug] LocalDateTimeStringConverterTest fails with German Locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx17
    • javafx
    • generic
    • generic

      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.

            Unassigned Unassigned
            aghaisas Ajit Ghaisas
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: