RFR: JDK-8285504 Minor cleanup could be done in javax.net [v2]
Mark Powers
duke at openjdk.java.net
Wed Apr 27 19:16:46 UTC 2022
On Tue, 26 Apr 2022 19:09:46 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/TrustManagerFactory.java line 81:
>
>> 79: String type;
>> 80: type = AccessController.doPrivileged((PrivilegedAction<String>) () ->
>> 81: Security.getProperty( "ssl.TrustManagerFactory.algorithm"));
>
> Another `GetPropertyAction::privilegedGetProperty` candidate.
Making the change.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8384
More information about the security-dev
mailing list