Skip to content
Permalink
Browse files

8247374: Remove default constructors from javax.net.sslK

Reviewed-by: xuelei
  • Loading branch information
jddarcy committed Jun 11, 2020
1 parent b81f2f1 commit 2f5d4c633bbf04a315ba08268b462d8465646e0b
@@ -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 @@
* @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 @@
* @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 @@
* @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 @@
* @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 @@
* @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

0 comments on commit 2f5d4c6

Please sign in to comment.
You can’t perform that action at this time.