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

Brian Burkhalter bpb at openjdk.org
Sat Nov 16 00:33:14 UTC 2024


On Fri, 15 Nov 2024 07:55:33 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8344078: Address reviewer comments
>
> src/java.base/share/classes/java/nio/channels/spi/SelectorProvider.java line 116:
> 
>> 114:                     return i.hasNext() ? i.next() : null;
>> 115:                 } catch (ServiceConfigurationError sce) {
>> 116:                     throw sce;
> 
> There's no need to catch ServiceConfigurationError now, same thing in AsynchronousChannelProvider, Charset ...

Several methods in `FileSystems` are still documented as throwing `ServiceConfigurationError`. Need to verify whether this is still accurate.

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

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


More information about the nio-dev mailing list