On Fri, 6 Dec 2024 21:15:23 GMT, Kevin Driver <kdri...@openjdk.org> wrote:

> A regression was introduced by 
> [JDK-8338383](https://bugs.openjdk.org/browse/JDK-8338383). Remove the forced 
> static eager initialization.

Would it be possible to create some follow-up issues to re-visit the class 
initialisers and the coarseness of locking in this area? As noted in the bug, 
the use of class locks is surprising.

Also I'm not sure about saying "regression". I assume the only negative impact 
of eager initialising AnchorCertificates is using using a custom 
implementation. In that case, default truststore is needlessly loaded, is that 
right?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/22616#issuecomment-2524971845

Reply via email to