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

Sanne Grinovero sgrinovero at openjdk.org
Mon Jan 26 19:18:51 UTC 2026


On Wed, 4 Dec 2024 19:29:48 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> 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).

Hello - a bit late, but I was trying to find the rationale.  It's a subtle change but it has implications and is breaking some libraries.
It's no big deal and we can deal with it, for example: https://github.com/quarkusio/quarkus/issues/52134#issuecomment-3789173826

But I'd like to check if this was really the intent?  Thanks!

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

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


More information about the nio-dev mailing list