On Wed, 28 Apr 2021 15:41:31 GMT, Chris Hegarty <che...@openjdk.org> wrote:

>> 8266155: Convert java.base to use Stream.toList()
>
> src/java.base/share/classes/java/lang/invoke/MethodHandles.java line 6788:
> 
>> 6786:     }
>> 6787: 
>> 6788:     /**
> 
> I think the import of Collectors can be dropped in this file? And maybe a few 
> other files too?

The import can be dropped from the jdk.internal.module.* classes too.

jdk.internal.module.IllegalAccessLogger will likely be removed as part of JEP 
403.

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

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

Reply via email to