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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b24
    • CPU:
      x86
    • OS:
      os_x

      Description


      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)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: