Integrated: 8314260: Unable to load system libraries on Windows when using a SecurityManager

Per Minborg pminborg at openjdk.org
Thu Sep 7 11:55:55 UTC 2023


On Tue, 5 Sep 2023 08:52:50 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to read the system environment variable "SystemRoot" using a privileged operation so it will work in the event a default SecurityManager is in place.
> 
> As the `SecurityManager` is deprecated for removal, no support methods were added for reading environmental variables.

This pull request has now been integrated.

Changeset: b408a82f
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b408a82f9b4ce4441f49d745034ef923a880778f
Stats:     26 lines in 3 files changed: 24 ins; 0 del; 2 mod

8314260: Unable to load system libraries on Windows when using a SecurityManager

Co-authored-by: Jorn Vernee <jvernee at openjdk.org>
Reviewed-by: jvernee

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

PR: https://git.openjdk.org/jdk/pull/15564


More information about the core-libs-dev mailing list