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

2023-09-05 Thread Per Minborg
On Tue, 5 Sep 2023 09:36:59 GMT, ExE Boss wrote: >> 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.i

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

2023-09-05 Thread ExE Boss
On Tue, 5 Sep 2023 09:38:17 GMT, Per Minborg 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 suppo

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

2023-09-05 Thread Per Minborg
> 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 variable