On Wed, 13 Sep 2023 17:52:22 GMT, Mandy Chung <mch...@openjdk.org> wrote:

>> This PR improves IllegalAccessException message thrown by `Lookup::findXXX` 
>> APIs if the method's variable arity modifier bit is set and 
>> `asVarargsCollector` fails.  It will increase the exception message thrown 
>> by asVarargsCollector`.
>> 
>> The exception message looks like this:
>> 
>> java.lang.IllegalAccessException: cannot make variable arity: 
>> MyClass.m(Object[],int)void/invokeStatic does not have a trailing array 
>> parameter
>
> Mandy Chung has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   revised message

Marked as reviewed by liach (Author).

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

PR Review: https://git.openjdk.org/jdk/pull/15698#pullrequestreview-1637003856

Reply via email to