mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8281560: Matcher.hitEnd returns unexpected results in presence of CANON_EQ flag.
Reviewed-by: rriggs, lancea
This commit is contained in:
parent
2549e55038
commit
3fc009be8a
2 changed files with 27 additions and 2 deletions
|
@ -4005,8 +4005,9 @@ loop: for(int x=0, offset=0; x<nCodePoints; x++, offset+=len) {
|
|||
}
|
||||
if (j < matcher.to)
|
||||
return false;
|
||||
} else {
|
||||
matcher.hitEnd = true;
|
||||
}
|
||||
matcher.hitEnd = true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue