Integrated: 8307508: IndirectVarHandle.isAccessModeSupported throws NPE

2023-06-13 Thread Chen Liang
On Tue, 13 Jun 2023 23:14:29 GMT, Chen Liang wrote: > 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

Integrated: 8307508: IndirectVarHandle.isAccessModeSupported throws NPE

2023-06-13 Thread Chen Liang
On Mon, 12 Jun 2023 05:27:35 GMT, Chen Liang wrote: > Fixes the NPE in IndirectVarHandle.isAccessModeSupported by delegating to the > target var handle. In addition, simplified the MH caching in Indirect VH and > removed redundant overrides (already available via var form). This was split > fr