Please consider this fix to the handling of word boundaries (`\b`) with 
non-spacing marks with non-BMP base characters, when `UNICODE_CHARACTER_CLASS` 
is not set.

See discussion in [JDK-8384082](https://bugs.openjdk.org/browse/JDK-8384082).

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8384082: Incorrect surrogate handling in Pattern.hasBaseCharacter for word 
boundaries

Changes: https://git.openjdk.org/jdk/pull/31067/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31067&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384082
  Stats: 56 lines in 2 files changed: 51 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/31067.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31067/head:pull/31067

PR: https://git.openjdk.org/jdk/pull/31067

Reply via email to