RFR: 8307508: IndirectVarHandle.isAccessModeSupported throws NPE

Chen Liang liach at openjdk.org
Tue Jun 13 23:21:29 UTC 2023


Hello,

This pull request contains a git cherry-pick of commit openjdk/jdk at 75dcc4ef94d90e4aa7f8ca5eccc97c91492d6eed, which fixed an NPE in IndirectVarHandle.isAccessModeSupported, reproducible via the return value of MethodHandles.filterCoordinates.

The commit being backported was reviewed by Mandy Chung, who also recommended backport of this fix.

Thanks!

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

Commit messages:
 - 8307508: IndirectVarHandle.isAccessModeSupported throws NPE

Changes: https://git.openjdk.org/jdk21/pull/16/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21&pr=16&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8307508
  Stats: 105 lines in 3 files changed: 69 ins; 27 del; 9 mod
  Patch: https://git.openjdk.org/jdk21/pull/16.diff
  Fetch: git fetch https://git.openjdk.org/jdk21.git pull/16/head:pull/16

PR: https://git.openjdk.org/jdk21/pull/16


More information about the core-libs-dev mailing list