< prev index next >

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

Print this page
rev 59397 : imported patch 8245241

@@ -23,11 +23,11 @@
 
 /*
  * @test
  * @bug 6336885 7196799 7197573 7198834 8000245 8000615 8001440 8008577
  *      8010666 8013086 8013233 8013903 8015960 8028771 8054482 8062006
- *      8150432 8215913 8220227 8228465 8232871 8232860 8236495
+ *      8150432 8215913 8220227 8228465 8232871 8232860 8236495 8245241
  * @summary tests for "java.locale.providers" system property
  * @library /test/lib
  * @build LocaleProviders
  *        providersrc.spi.src.tznp
  *        providersrc.spi.src.tznp8013086

@@ -160,10 +160,14 @@
         //testing 8232871 fix. (macOS only)
         testRun("HOST", "bug8232871Test", "", "", "");
 
         //testing 8232860 fix. (macOS/Windows only)
         testRun("HOST", "bug8232860Test", "", "", "");
+
+        //testing 8245241 fix.
+        testRun("FOO", "bug8245241Test",
+            "Invalid locale provider adapter \"FOO\" ignored.", "", "");
     }
 
     private static void testRun(String prefList, String methodName,
             String param1, String param2, String param3) throws Throwable{
         JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("java");
< prev index next >