-
CSR
-
Resolution: Approved
-
P3
-
None
-
behavioral
-
minimal
-
There is no compatibility risk until the provider is actually removed. Solaris support is going away, and this is a feature that is mostly under the hood and not exposed to the end user.
-
Java API, Other
-
JDK
Summary
Deprecate the OracleUcrypto JCE Provider and its containing module jdk.crypto.ucrypto
.
Problem
The OracleUcrypto provider is a Solaris-specific feature and should be deprecated for removal as part of JEP 362: Deprecate the Solaris and SPARC Ports.
Solution
Add a Deprecated
annotation with the forRemoval
flag set to true
to the module-info.java
file of the jdk.crypto.ucrypto
module. Document that the OracleUcrypto JCE Provider has been deprecated for removal in the JDK Provider Guide and Release Notes.
Specification
diff -r cfed0da56a7b src/jdk.crypto.ucrypto/solaris/classes/module-info.java
--- a/src/jdk.crypto.ucrypto/solaris/classes/module-info.java Tue Dec 03 16:13:37 2019 +0000
+++ b/src/jdk.crypto.ucrypto/solaris/classes/module-info.java Thu Dec 05 14:07:09 2019 -0500
@@ -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;
}
- csr of
-
JDK-8234870 Deprecate the OracleUcrypto JCE Provider for removal
-
- Resolved
-