8175846: Provide javadoc descriptions for jdk.policytool and jdk.crypto.* modules
Reviewed-by: vinnie
--- a/jdk/src/jdk.crypto.cryptoki/share/classes/module-info.java Tue Mar 07 22:42:11 2017 +0800
+++ b/jdk/src/jdk.crypto.cryptoki/share/classes/module-info.java Tue Mar 07 22:55:36 2017 +0800
@@ -23,6 +23,11 @@
* questions.
*/
+/**
+ * The SunPKCS11 security provider.
+ *
+ * @since 9
+ */
module jdk.crypto.cryptoki {
// Depends on SunEC provider for EC related functionality
requires jdk.crypto.ec;
--- a/jdk/src/jdk.crypto.ec/share/classes/module-info.java Tue Mar 07 22:42:11 2017 +0800
+++ b/jdk/src/jdk.crypto.ec/share/classes/module-info.java Tue Mar 07 22:55:36 2017 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -23,6 +23,11 @@
* questions.
*/
+/**
+ * The SunEC security provider.
+ *
+ * @since 9
+ */
module jdk.crypto.ec {
provides java.security.Provider with sun.security.ec.SunEC;
}
--- a/jdk/src/jdk.crypto.mscapi/windows/classes/module-info.java Tue Mar 07 22:42:11 2017 +0800
+++ b/jdk/src/jdk.crypto.mscapi/windows/classes/module-info.java Tue Mar 07 22:55:36 2017 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -23,6 +23,11 @@
* questions.
*/
+/**
+ * The SunMSCAPI security provider.
+ *
+ * @since 9
+ */
module jdk.crypto.mscapi {
provides java.security.Provider with sun.security.mscapi.SunMSCAPI;
}
--- a/jdk/src/jdk.crypto.ucrypto/solaris/classes/module-info.java Tue Mar 07 22:42:11 2017 +0800
+++ b/jdk/src/jdk.crypto.ucrypto/solaris/classes/module-info.java Tue Mar 07 22:55:36 2017 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -23,6 +23,11 @@
* questions.
*/
+/**
+ * The OracleUCrypto security provider.
+ *
+ * @since 9
+ */
module jdk.crypto.ucrypto {
provides java.security.Provider with com.oracle.security.ucrypto.UcryptoProvider;
}
--- a/jdk/src/jdk.policytool/share/classes/module-info.java Tue Mar 07 22:42:11 2017 +0800
+++ b/jdk/src/jdk.policytool/share/classes/module-info.java Tue Mar 07 22:55:36 2017 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -23,6 +23,14 @@
* questions.
*/
+/**
+ * GUI tool for managing policy files.
+ *
+ * @since 9
+ * @deprecated The policytool tool has been deprecated and
+ * is planned to be removed in a future release.
+ */
+@Deprecated
module jdk.policytool {
requires java.desktop;
requires java.logging;