Reject invalid values with an IllegalArgumentException for properties that 
accept a fixed set of values.



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

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

Commit messages:
 - 8393346: Reject invalid values for XML properties with a fix set of string 
values

Changes: https://git.openjdk.org/jdk/pull/33938/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33938&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8393346
  Stats: 105 lines in 3 files changed: 73 ins; 3 del; 29 mod
  Patch: https://git.openjdk.org/jdk/pull/33938.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33938/head:pull/33938

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

Reply via email to