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

java/util/Locale/LocaleProviders.sh failed on Win10.

    Details

    • Subcomponent:
    • Resolved In Build:
      b113
    • CPU:
      x86_64
    • OS:
      windows_10

      Backports

        Description

        Test platform info: Windows10 x64 with Cygwin
        Locale: Ja_JP
        Product version: JDK 8u76 build 05

        Error log:
        C:/dora/8u76/b05/8u76build05_01272016/../jdk1.8.0_76\\bin\\java -Dfile.encoding=UTF-8 -classpath C:/Dora/8u76/b05/8u76build05_01272016/workDir/classes/java/util/Locale -Djava.locale.providers=HOST,JRE LocaleProviders adapterTest JRE ja JP
        testLocale: ja_JP, got: HOST, expected: JRE
        Execution of the test case failed.
        ----------System.err:(3/210)----------
        Exception in thread "main" java.lang.RuntimeException: Returned locale data adapter is not correct.
        at LocaleProviders.adapterTest(LocaleProviders.java:94)
        at LocaleProviders.main(LocaleProviders.java:44)
        ----------rerun:(19/1002)*----------

        Root cause:
        In L57 of java/util/Locale/LocaleProviders.sh: OS=`uname -s`
        In the test env, the output is: CYGWIN_NT-10.0-WOW
        In L166 of java/util/Locale/LocaleProviders.sh: CYGWIN_NT-6* | Darwin )
        It did not match the OS, default value return.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rgoel Rachna Goel (Inactive)
                  Reporter:
                  dzhou Dora Zhou
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: