On Tue, 31 May 2022 23:15:26 GMT, Mandy Chung <[email protected]> wrote:
>> Claes Redestad has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Minor stylistic cleanup
>
> src/java.base/share/classes/java/lang/invoke/LambdaForm.java line 204:
>
>> 202: static BasicType basicType(Class<?> type) {
>> 203: if (!type.isPrimitive()) return L_TYPE;
>> 204: return
>> basicType(Wrapper.forPrimitiveType(type).basicTypeChar());
>
> Suggestion:
>
> return basicType(Wrapper.basicTypeChar(type));
I'll go one step further then and also remove the line before it too.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8855