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

Matthias Baesken mbaesken at openjdk.org
Wed Sep 20 07:16:48 UTC 2023


On Fri, 8 Sep 2023 08:26:16 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> There are some remaining places in 'general' JDK code (= code not related to e.g. a specific tool) getting properties like :
> 
> osName = System.getProperty(os.name)
> 
> https://github.com/openjdk/jdk/blob/master/src/java.management/share/classes/sun/management/VMManagementImpl.java#L225
> 
> https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/sun/awt/FontConfiguration.java#L134
> 
> Those should be a PrivilegedAction .

This pull request has been closed without being integrated.

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

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


More information about the client-libs-dev mailing list