Fix the `RuleBasedCollator` parser to throw `ParseException` for unterminated 
quoted text. Add regression tests and correct a missing closing quote in an 
existing test rule, exposed by this fix.

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

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

Commit messages:
 - initial commit

Changes: https://git.openjdk.org/jdk/pull/33940/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33940&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8397209
  Stats: 23 lines in 3 files changed: 12 ins; 2 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/33940.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33940/head:pull/33940

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

Reply via email to