8234870: Deprecate the OracleUcrypto JCE Provider for removal

Reviewed-by: alanb, rriggs
This commit is contained in:
Sean Mullan 2019-12-11 17:17:28 -05:00
parent a51b5ae9c4
commit dd321330ce
2 changed files with 6 additions and 1 deletions

View file

@ -61,6 +61,8 @@
# List of providers and their preference orders (see above):
#
#ifdef solaris
# Note: The OracleUcrypto provider is deprecated and subject to removal in
# a future version of the JDK.
security.provider.tbd=OracleUcrypto
security.provider.tbd=SunPKCS11 ${java.home}/conf/security/sunpkcs11-solaris.cfg
#endif

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2019, 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
@ -29,7 +29,10 @@
* @provides java.security.Provider
* @moduleGraph
* @since 9
* @deprecated This module is deprecated and subject to removal in a future
* version of the JDK. See JEP 362 for more information.
*/
@Deprecated(since="14", forRemoval=true)
module jdk.crypto.ucrypto {
provides java.security.Provider with com.oracle.security.ucrypto.UcryptoProvider;
}