Please review this small update to have `NewWeakGlobalRef` throw `IdentityException` (as per the `java.lang.ref` classes), plus a simple functional test.
Thanks ------------- Commit messages: - 8379007: [lworld] JNI NewWeakGlobalRef should throw IdentityException for value types Changes: https://git.openjdk.org/valhalla/pull/2195/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2195&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379007 Stats: 104 lines in 3 files changed: 104 ins; 0 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/2195.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2195/head:pull/2195 PR: https://git.openjdk.org/valhalla/pull/2195
