RFR: 8344078: Remove security manager dependency in java.nio [v5]

Andrey Turbanov aturbanov at openjdk.org
Tue Nov 19 08:25:52 UTC 2024


On Mon, 18 Nov 2024 17:04:09 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Expunge the use of the `SecurityManager`, `AccessController`, and the like from the `java.nio` and `sun.nio` package hierarchies.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8344078: Remove one straggling toString()

src/java.base/share/classes/java/nio/channels/spi/AsynchronousChannelProvider.java line 93:

> 91:                 ServiceLoader.load(AsynchronousChannelProvider.class,
> 92:                                    ClassLoader.getSystemClassLoader());
> 93:             Iterator<AsynchronousChannelProvider> i = sl.iterator();

iterator is now unused

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22132#discussion_r1847879204


More information about the nio-dev mailing list