On Thu, 4 Jul 2024 06:22:31 GMT, Hannes Greule <[email protected]> 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
I think this needs a CSR, to document the change in behavior. (See e.g.
https://bugs.openjdk.org/browse/JDK-8335554 which is a very similar case)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20015#issuecomment-2210971780