[jdk17u-dev] RFR: 8273430: Suspicious duplicate condition in java.util.regex.Grapheme#isExcludedSpacingMark

john spurling duke at openjdk.org
Sun Jul 21 19:50:20 UTC 2024


Clean backport. Fixes spacing mark detection in `java.util.regex` for code points `0x1065` and `0x1066`. 

Additional testing:
- [x] test case catches original bug; fails without it
- [x] `JTREG_KEYWORDS="!headful & !external-dep & !printer" make test TEST="tier1 tier2 tier3"` on `linux-aarch64-server-release`: no additional test failures

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

Commit messages:
 - Backport 3d9dc8f824abf597d9b28f456cfeb5af927221b8

Changes: https://git.openjdk.org/jdk17u-dev/pull/2731/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2731&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8273430
  Stats: 539 lines in 4 files changed: 147 ins; 388 del; 4 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2731.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2731/head:pull/2731

PR: https://git.openjdk.org/jdk17u-dev/pull/2731


More information about the jdk-updates-dev mailing list