RFR: JDK-8285504 Minor cleanup could be done in javax.net [v2]
Bradford Wetmore
wetmore at openjdk.java.net
Tue Apr 26 19:52:47 UTC 2022
On Tue, 26 Apr 2022 19:05:05 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Mark Powers has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Alan Bateman comments
>
> src/java.base/share/classes/javax/net/ssl/KeyManagerFactory.java line 69:
>
>> 67: String type;
>> 68: type = AccessController.doPrivileged((PrivilegedAction<String>) () ->
>> 69: Security.getProperty("ssl.KeyManagerFactory.algorithm"));
>
> We can probably use `sun.security.action.GetPropertyAction::privilegedGetProperty`. This is inside `java.base` so that class is always available.
Wasn't there another bug to address this?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8384
More information about the security-dev
mailing list