Hello, This pull request contains a git cherry-pick of commit openjdk/jdk@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