RFR: 8335638: Calling VarHandle.{access-mode} methods reflectively throws wrong exception [v2]
Hannes Greule
hgreule at openjdk.org
Thu Aug 1 13:08:32 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
@JornVernee if you want you can also review <https://bugs.openjdk.org/browse/JDK-8337301>
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20015#issuecomment-2262988654
More information about the core-libs-dev
mailing list