RFR: 8273101: Eliminate the usage of threadgroup sandboxing in the java.util.logging

Sergey Bylokhov serb at openjdk.java.net
Thu Sep 9 23:01:10 UTC 2021


On Wed, 1 Sep 2021 06:31:16 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> The "java.util.logging.LogManager" class uses the "threadgroup sandboxing" via an AppContext to support "applet logging isolation". The AppContext class became useless since the plugin and webstart are no longer supported and removed in jdk11.
> 
> This is the request to delete the usage of AppContext in the LogManager and related tests.
> 
> Tested by tier1/tier2/tier3 and jdk_desktop tests.

I'll remove its used one by one from the external usage like in "java.base" here, then in Swing, then in 2D like fonts, then last in AWT.

That change should not break something other than the tests which intentionally create different appcontexts. And it's easy to review.

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

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



More information about the client-libs-dev mailing list