< prev index next >

src/java.base/share/classes/java/util/regex/Pattern.java

Print this page

        

*** 1602,1612 **** for(int x=1; x<nCodePoints; x++) length = length * (x+1); String[] temp = new String[length]; ! int combClass[] = new int[nCodePoints]; for(int x=0, i=0; x<nCodePoints; x++) { int c = Character.codePointAt(input, i); combClass[x] = getClass(c); i += Character.charCount(c); } --- 1602,1612 ---- for(int x=1; x<nCodePoints; x++) length = length * (x+1); String[] temp = new String[length]; ! int[] combClass = new int[nCodePoints]; for(int x=0, i=0; x<nCodePoints; x++) { int c = Character.codePointAt(input, i); combClass[x] = getClass(c); i += Character.charCount(c); }
< prev index next >