< prev index next >

test/jdk/java/util/Locale/LocaleProvidersRun.java

Print this page

        

@@ -141,11 +141,11 @@
         testRun("HOST,COMPAT", "bug8013903Test", "", "", "");
 
         //testing 8027289 fix, if the platform format default is zh_CN
         // this assumes Windows' currency symbol for zh_CN is \u00A5, the yen
         // (yuan) sign.
-        if (!defLang.equals("en") && !defCtry.equals("CN")){
+        if (defFmtLang.equals("zh") && defFmtCtry.equals("CN")) {
             testRun("JRE,HOST", "bug8027289Test", "FFE5", "", "");
             testRun("COMPAT,HOST", "bug8027289Test", "FFE5", "", "");
             testRun("HOST", "bug8027289Test", "00A5", "", "");
         }
     }
< prev index next >