RFR: 8282662: Use List/Set.of() factory methods to reduce memory consumption [v2]

Сергей Цыпанов duke at openjdk.java.net
Thu Mar 10 08:52:19 UTC 2022


On Wed, 9 Mar 2022 16:09:01 GMT, liach <duke at openjdk.java.net> wrote:

>> Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8282662: Revert dubious changes
>
> src/java.base/share/classes/java/lang/invoke/MethodType.java line 910:
> 
>> 908:         if (skipPos > myLen || myLen - skipPos > fullLen)
>> 909:             return false;
>> 910:         List<Class<?>> myList = List.of(ptypes);
> 
> imo should revert this one together with that proxy parameter one

Reverted

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

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



More information about the security-dev mailing list