On Wed, 17 Jun 2026 08:26:54 GMT, Jaikiran Pai <[email protected]> wrote:

> 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).

This pull request has now been integrated.

Changeset: 5e575216
Author:    Jaikiran Pai <[email protected]>
Committer: Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/5e575216ae97245b25c6cbe80965e2a2a6123967
Stats:     96 lines in 3 files changed: 65 ins; 30 del; 1 mod

8386815: [lworld] Reduce the number of constructors in IdentityException

Reviewed-by: liach, alanb

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

PR: https://git.openjdk.org/valhalla/pull/2562

Reply via email to