[lworld] RFR: 8375328: [lworld] JNI IsSameObject function doesn't use the alternate substitutability method

Frederic Parain fparain at openjdk.org
Wed Jan 14 17:25:14 UTC 2026


Small fix to align the implementation of JNI function IsSameObject with the implementation of `if_acmp<cond>` in the rest of the JVM.

Tested locally.

Fred

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

Commit messages:
 - Add support for the alrternate substitutability method

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

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


More information about the valhalla-dev mailing list