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 requires a bump of the JNI version number - for which I'm assuming JDK 28 
(I don't think this should cause any issues).

Added a simple functional test.

Manually tested with -Xcheck:jni as well

tiers 1-3 sanity testing

Thanks

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

Commit messages:
 - Update for version 28
 - Forgot to update current JNI version
 - fix-spacing
 - copyright
 - 8379365: [lworld] Add new JNI method IsValueObject(jobject value)

Changes: https://git.openjdk.org/valhalla/pull/2203/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2203&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8379365
  Stats: 48 lines in 4 files changed: 38 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/valhalla/pull/2203.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2203/head:pull/2203

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

Reply via email to