RFR: 8344077: Remove security manager dependency in java.io

Naoto Sato naoto at openjdk.org
Mon Nov 18 20:56:52 UTC 2024


On Mon, 18 Nov 2024 20:28:49 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Expunge the use of the `SecurityManager`, `AccessController`, and the like from the `java.io` package.

`Console` changes look good to me, with a minor suggestion

src/java.base/share/classes/java/io/Console.java line 687:

> 685:             }
> 686:         } catch (ServiceConfigurationError _) {
> 687:             c = null;

This assignment can be removed

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

PR Review: https://git.openjdk.org/jdk/pull/22219#pullrequestreview-2443712279
PR Review Comment: https://git.openjdk.org/jdk/pull/22219#discussion_r1847262821


More information about the core-libs-dev mailing list