Can I please get a review of this change which specifies that the `IdentityException` throws a `NullPointerException` if the `Class` passed to its constructor is null?
This change is being proposed as part of the JEP-401 standard library changes that are currently under review at https://github.com/openjdk/jdk/pull/31123. A new jtreg test has been introduced to verify the basic semantics of this exception class. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8386815: [lworld] IdentityException should specify that it throws NullPointerException if the given Class is null Changes: https://git.openjdk.org/valhalla/pull/2562/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2562&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8386815 Stats: 87 lines in 2 files changed: 86 ins; 0 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/2562.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2562/head:pull/2562 PR: https://git.openjdk.org/valhalla/pull/2562
