RFR: 8281560: Matcher.hitEnd returns unexpected results in presence of CANON_EQ flag.

Ian Graves igraves at openjdk.java.net
Mon Feb 14 20:00:23 UTC 2022


Fixing a bug in `NFCCharProperty` where code falling through an if-statement can prematurely set the matcher's `hitEnd` field to true.

-------------

Commit messages:
 - Catching erronious setting of matcher.hitEnd

Changes: https://git.openjdk.java.net/jdk/pull/7466/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7466&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281560
  Stats: 28 lines in 2 files changed: 27 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7466.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7466/head:pull/7466

PR: https://git.openjdk.java.net/jdk/pull/7466


More information about the core-libs-dev mailing list