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

Brian Burkhalter bpb at openjdk.org
Wed Dec 4 19:31:53 UTC 2024


On Sat, 16 Nov 2024 09:12:02 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/sun/nio/ch/ThreadPool.java line 76:
> 
>> 74:             t.setDaemon(true);
>> 75:             return t;
>> 76:         };
> 
> This is another case where we should move to InnocuousThread, not this PR of course.

Tracked by [JDK-8345432](https://bugs.openjdk.org/browse/JDK-8345432).

> src/java.base/share/classes/sun/nio/fs/AbstractPoller.java line 62:
> 
>> 60:                                 false);
>> 61:         thr.setDaemon(true);
>> 62:         thr.start();
> 
> Not for this PR but we should replace this with an InnocuousThread at some point.

Tracked by [JDK-8345432](https://bugs.openjdk.org/browse/JDK-8345432).

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

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


More information about the nio-dev mailing list