mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8157712: Deprecate the javax.security.cert and com.sun.net.ssl APIs with forRemoval=true
Reviewed-by: weijun
This commit is contained in:
parent
465af0b962
commit
67ca9fc9b4
27 changed files with 81 additions and 46 deletions
|
@ -159,6 +159,8 @@ final class ProviderConfig {
|
|||
/**
|
||||
* Get the provider object. Loads the provider if it is not already loaded.
|
||||
*/
|
||||
// com.sun.net.ssl.internal.ssl.Provider has been deprecated since JDK 9
|
||||
@SuppressWarnings("deprecation")
|
||||
synchronized Provider getProvider() {
|
||||
// volatile variable load
|
||||
Provider p = provider;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue