RFR: 8314260: Unable to load system libraries on Windows when using a SecurityManager [v4]

Per Minborg pminborg at openjdk.org
Thu Sep 7 07:46:03 UTC 2023


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

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Add privilidged action and restrict grants

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15564/files
  - new: https://git.openjdk.org/jdk/pull/15564/files/0cc7c381..16e74316

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15564&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15564&range=02-03

  Stats: 8 lines in 2 files changed: 6 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15564.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15564/head:pull/15564

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


More information about the core-libs-dev mailing list