mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8247374: Remove default constructors from javax.net.sslK
Reviewed-by: xuelei
This commit is contained in:
parent
b81f2f1f48
commit
2f5d4c633b
5 changed files with 29 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -34,6 +34,11 @@ import java.util.List;
|
|||
* @since 1.7
|
||||
*/
|
||||
public abstract class ExtendedSSLSession implements SSLSession {
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public ExtendedSSLSession() {}
|
||||
|
||||
/**
|
||||
* Obtains an array of supported signature algorithms that the local side
|
||||
* is willing to use.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -40,6 +40,11 @@ import java.security.*;
|
|||
* @see KeyManager
|
||||
*/
|
||||
public abstract class KeyManagerFactorySpi {
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public KeyManagerFactorySpi() {}
|
||||
|
||||
/**
|
||||
* Initializes this factory with a source of key material.
|
||||
*
|
||||
|
|
|
@ -39,6 +39,11 @@ import java.security.*;
|
|||
* @see SSLContext
|
||||
*/
|
||||
public abstract class SSLContextSpi {
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public SSLContextSpi() {}
|
||||
|
||||
/**
|
||||
* Initializes this context.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -40,6 +40,11 @@ import java.security.*;
|
|||
* @see TrustManager
|
||||
*/
|
||||
public abstract class TrustManagerFactorySpi {
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public TrustManagerFactorySpi() {}
|
||||
|
||||
/**
|
||||
* Initializes this factory with a source of certificate
|
||||
* authorities and related trust material.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -54,6 +54,11 @@ import java.security.cert.CertificateException;
|
|||
* @since 1.7
|
||||
*/
|
||||
public abstract class X509ExtendedTrustManager implements X509TrustManager {
|
||||
/**
|
||||
* Constructor for subclasses to call.
|
||||
*/
|
||||
public X509ExtendedTrustManager() {}
|
||||
|
||||
/**
|
||||
* Given the partial or complete certificate chain provided by the
|
||||
* peer, build and validate the certificate path based on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue