On Fri, 8 Apr 2022 12:12:06 GMT, ExE Boss <d...@openjdk.java.net> wrote:

>> Claes Redestad has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Simplified as suggested by @ExE-Boss
>
> src/java.base/share/classes/java/lang/invoke/IndirectVarHandle.java line 104:
> 
>> 102:         if (exact && accessModeType(ad.type) != 
>> ad.symbolicMethodTypeExact) {
>> 103:             throwWrongMethodTypeException(ad);
>> 104:         }
> 
> This could also be:
> Suggestion:
> 
>         super.checkExactAccessMode(ad);

Good suggestions, fixed.

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

PR: https://git.openjdk.java.net/jdk/pull/8160

Reply via email to