changeset 16789:cac788454598 jdk-9+160

8175846: Provide javadoc descriptions for jdk.policytool and jdk.crypto.* modules Reviewed-by: vinnie
author weijun
date Tue, 07 Mar 2017 22:55:36 +0800
parents 1ccb32228fe7
children ddf8af0e536a 4b8e662483a1 ca35f499c66a
files src/jdk.crypto.cryptoki/share/classes/module-info.java src/jdk.crypto.ec/share/classes/module-info.java src/jdk.crypto.mscapi/windows/classes/module-info.java src/jdk.crypto.ucrypto/solaris/classes/module-info.java src/jdk.policytool/share/classes/module-info.java
diffstat 5 files changed, 32 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.crypto.cryptoki/share/classes/module-info.java	Tue Mar 07 22:42:11 2017 +0800
+++ b/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/src/jdk.crypto.ec/share/classes/module-info.java	Tue Mar 07 22:42:11 2017 +0800
+++ b/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/src/jdk.crypto.mscapi/windows/classes/module-info.java	Tue Mar 07 22:42:11 2017 +0800
+++ b/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/src/jdk.crypto.ucrypto/solaris/classes/module-info.java	Tue Mar 07 22:42:11 2017 +0800
+++ b/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/src/jdk.policytool/share/classes/module-info.java	Tue Mar 07 22:42:11 2017 +0800
+++ b/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;