On Mon, 18 Jul 2022 17:53:56 GMT, Mark Powers <d...@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