> 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).
Jaikiran Pai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision: - reduce the constructors in IdentityException - merge latest from lworld branch - 8386815: [lworld] IdentityException should specify that it throws NullPointerException if the given Class is null ------------- Changes: - all: https://git.openjdk.org/valhalla/pull/2562/files - new: https://git.openjdk.org/valhalla/pull/2562/files/84349aef..5ee0e711 Webrevs: - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2562&range=01 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2562&range=00-01 Stats: 430 lines in 20 files changed: 321 ins; 66 del; 43 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
