On Thu, 7 May 2026 01:10:15 GMT, Dan Smith <[email protected]> wrote:

> Two changes:
> 
> - Remove the `Class.isIdentity` method, which is redundant given the 
> `Class.isValue` method
> - Clean up `Class.isValue` so that it only returns true for value classes, 
> not other non-identity things (interfaces, primitives)
> 
> ---------
> - [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: 873f02d2
Author:    Dan Smith <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/873f02d2d521108f8883341350315991b592e733
Stats:     280 lines in 11 files changed: 112 ins; 121 del; 47 mod

8383755: [lworld] Clean up Class.isValue and Class.isIdentity

Reviewed-by: liach

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

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

Reply via email to