diff --git a/src/share/classes/java/util/regex/Pattern.java b/src/share/classes/java/util/regex/Pattern.java index 1dafcbc6473c7c1a7881ba62d2ea8803893f434e..529b07c666e14640817d2b3d00da8f04b3fe5936 100644 --- a/src/share/classes/java/util/regex/Pattern.java +++ b/src/share/classes/java/util/regex/Pattern.java @@ -4334,7 +4334,6 @@ loop: for(int x=0, offset=0; x cmin) { + while (j > min) { if (next.match(matcher, i, seq)) { if (capture) { groups[groupIndex+1] = i; @@ -4544,7 +4545,6 @@ loop: for(int x=0, offset=0; x