jdk/test/java/lang/String/CompareIC.java
changeset 39301 0907704a2409
parent 5506 202f599c92aa
--- a/jdk/test/java/lang/String/CompareIC.java	Wed Jul 05 21:53:18 2017 +0200
+++ b/jdk/test/java/lang/String/CompareIC.java	Mon Jun 27 13:57:24 2016 -0700
@@ -23,7 +23,7 @@
 
 /*
  * @test
- * @bug 4124769
+ * @bug 4124769 8160312
  * @summary Test ignore-case comparison
  *
  */
@@ -45,6 +45,10 @@
         comparer.testTriplet(test1, test2, test3);
         test2 = test2.toLowerCase();
         comparer.testTriplet(test1, test2, test3);
+
+        // toLowerCase -> non-latin1
+        if ("\u00b5".compareToIgnoreCase("X") < 0)
+            throw new RuntimeException("Comparison failure1");
     }
 
     private void testTriplet(String one, String two, String three)