8157712: Deprecate the javax.security.cert and com.sun.net.ssl APIs with forRemoval=true

Reviewed-by: weijun
This commit is contained in:
Xue-Lei Andrew Fan 2016-07-09 05:48:16 +00:00
parent 465af0b962
commit 67ca9fc9b4
27 changed files with 81 additions and 46 deletions

View file

@ -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;