On Tue, 5 Sep 2023 09:38:17 GMT, Per Minborg <pminb...@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. > > Per Minborg has updated the pull request incrementally with one additional > commit since the last revision: > > Add a SecurityManager for TestLinker test/jdk/java/foreign/TestLinker.java line 30: > 28: * @modules java.base/jdk.internal.foreign > 29: * @run testng/othervm/policy=security.policy > 30: * -Djava.security.manager=default TestLinker This test should also be run without a `SecurityManager` installed. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15564#discussion_r1315645246