< prev index next >

test/jdk/java/lang/String/CompactString/RegionMatches.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,7 ---
  /*
!  * Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 94,13 ***
--- 94,17 ---
                  new Object[] { STRING_SUPPLEMENTARY_LOWERCASE, false, 4,
                          "\uFF41", 0, 1, true },
                  // Turkish I with dot
                  new Object[] { "\u0130", false, 0, "i", 0, 1, false },
                  new Object[] { "\u0130", true,  0, "i", 0, 1, true },
+                 new Object[] { "\u0130", false, 0, "I", 0, 1, false },
+                 new Object[] { "\u0130", true,  0, "I", 0, 1, true },
                  // i without dot
                  new Object[] { "\u0131", false, 0, "i", 0, 1, false },
                  new Object[] { "\u0131", true,  0, "i", 0, 1, true },
+                 new Object[] { "\u0131", false, 0, "I", 0, 1, false },
+                 new Object[] { "\u0131", true,  0, "I", 0, 1, true },
                  // Exhaustive list of 1-char latin1 strings that match
                  // case-insensitively:
                  // for (char c1 = 0; c1 < 255; c1++) {
                  //   for (char c2 = c; c2 < 255; c2++) {
                  //     if (c1 == c2) continue;
< prev index next >