JDK-8383756 adjusted the checks, but the generated exception does not reflect the changed check.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8395929 Changes: https://git.openjdk.org/jdk/pull/33590/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33590&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8395929 Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/33590.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33590/head:pull/33590 PR: https://git.openjdk.org/jdk/pull/33590
