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

duke duke at openjdk.org
Thu Aug 1 13:08:33 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

@SirYwell 
Your change (at version e329ceb206d198e35186843391f4a8a25732e64e) is now ready to be sponsored by a Committer.

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

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


More information about the core-libs-dev mailing list