RFR: JDK-8155039 Simplify code to setup SSLContextImpl and TrustManagerFactoryImpl
Weijun Wang
weijun at openjdk.org
Tue Jul 19 16:48:57 UTC 2022
On Mon, 18 Jul 2022 17:53:56 GMT, Mark Powers <duke at openjdk.org> wrote:
> https://bugs.openjdk.org/browse/JDK-8155039
I'm not sure if this is worth doing. It looks like after the code change each of the 2 constructors is only used once by one of the 2 new `privilegedGetFileInputStream` methods, and then each new method is only used once in JSSE.
Also, the `SecurityManager` API including these `doPrivileged` calls were deprecated for removal in JDK 17. I doubt spending more time tuning them makes us any good.
-------------
PR: https://git.openjdk.org/jdk/pull/9542
More information about the security-dev
mailing list