RFR: 8335638: Calling VarHandle.{access-mode} methods reflectively throws wrong exception [v2]

Chen Liang liach at openjdk.org
Thu Aug 1 14:44:38 UTC 2024


On Thu, 4 Jul 2024 06:22:31 GMT, Hannes Greule <hgreule at openjdk.org> wrote:

>> Similar to how `MethodHandle#invoke(Exact)` methods are already handled, this change adds special casing for `VarHandle.{access-mode}` methods.
>> 
>> The exception message is less exact, but I think that's acceptable.
>
> Hannes Greule has updated the pull request incrementally with one additional commit since the last revision:
> 
>   address comments

Thanks for this fix and the discussions. We should be good to go.

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

PR Comment: https://git.openjdk.org/jdk/pull/20015#issuecomment-2263247935


More information about the core-libs-dev mailing list