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

java/util/Locale/bcp47u/SystemPropertyTests.java wrong locale default

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 12
    • 12
    • core-libs
    • b24
    • x86
    • os_x


      Some default locale(s) don't match.
      Default Locale expected: en_US_#u-ca-japanese, result: en_US_#u-ca-japanese
      Default Format Locale expected: en_US_#u-ca-japanese, result: en_AF_#u-ca-japanese
      Default Display Locale expected: en_US_#u-ca-japanese, result: en_AF_#u-ca-japanese

      test SystemPropertyTests.runTest("-Duser.extensions=u-ca-japanese", "en_US_#u-ca-japanese", "en_US_#u-ca-japanese", "en_US_#u-ca-japanese"): failure
      java.lang.AssertionError: expected [true] but found [false]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:496)
      at org.testng.Assert.assertTrue(Assert.java:42)
      at org.testng.Assert.assertTrue(Assert.java:52)
      at SystemPropertyTests.runTest(SystemPropertyTests.java:98)

            rriggs Roger Riggs
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: