mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8344924: Default CA certificates loaded despite request to use custom keystore
Reviewed-by: ascarpino
This commit is contained in:
parent
0f035545e5
commit
4c39e9faa0
1 changed files with 0 additions and 10 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
package sun.security.ssl;
|
||||
|
||||
import java.lang.invoke.MethodHandles;
|
||||
import java.net.Socket;
|
||||
import java.security.*;
|
||||
import java.security.cert.*;
|
||||
|
@ -52,15 +51,6 @@ import sun.security.validator.*;
|
|||
final class X509TrustManagerImpl extends X509ExtendedTrustManager
|
||||
implements X509TrustManager {
|
||||
|
||||
static {
|
||||
// eagerly initialize to avoid pinning virtual thread during TLS handshake
|
||||
try {
|
||||
MethodHandles.lookup().ensureInitialized(AnchorCertificates.class);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new ExceptionInInitializerError(e);
|
||||
}
|
||||
}
|
||||
|
||||
private final String validatorType;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue