On Fri, 6 Mar 2026 02:41:18 GMT, David Holmes <[email protected]> wrote:

> This PR adds a new JNI `IsValueObject` method so that native code can query 
> is an object is an instance of  a value class. 
> 
> This will require a bump of the JNI version number once we are out of preview.
> 
> Added a simple functional test.
> 
> Manually tested with -Xcheck:jni as well
> 
> tiers 1-3 sanity testing
> 
> Thanks

This pull request has now been integrated.

Changeset: b9a1691d
Author:    David Holmes <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/b9a1691d0bc7931ee59385dd29be1fada3ad4edd
Stats:     140 lines in 7 files changed: 133 ins; 0 del; 7 mod

8379365: [lworld] Add new JNI method IsValueObject(jobject value)

Reviewed-by: phubner

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

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

Reply via email to