RFR: JDK-8315897: some PrivilegedActions missing in JDK code for getting properties

Matthias Baesken mbaesken at openjdk.org
Tue Sep 12 08:29:37 UTC 2023


On Fri, 8 Sep 2023 13:02:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > So probably we could avoid changing VMManagementImpl.java because it is not needed any more at least in jdk-head .
> 
> It's a JDK internal class so should never have been used directly. I can't imagine what might be using a JDK internal class while running with a SM.
> 

okay thanks for the explanation. So could we remove the existing PrivilegedAction in getCompilerName ?

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

PR Comment: https://git.openjdk.org/jdk/pull/15629#issuecomment-1715244233


More information about the client-libs-dev mailing list