JDK-8155039 : Simplify code to setup SSLContextImpl and TrustManagerFactoryImpl
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2016-04-25
  • Updated: 2022-07-22
  • Resolved: 2022-07-22
Related Reports
Blocks :  
Description
Some setup code in these classes could use/enhance the existing OpenFileInputStreamAction and use privileged access to System.properties via GetPropertyAction to simplify the code to get various properties.
Comments
Not worth the effort for something already deprecated for removal.
22-07-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/9542 Date: 2022-07-18 17:53:56 +0000
19-07-2022

TrustStoreManager also needs to be modified.
19-07-2022

Proposal out which also improve the API to better disallow insecure coding.
06-06-2016

The API used in the suggested is under review to make it more clear that these are performing a privileged action whose inputs and results should be treated with extra care.
29-04-2016