Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251202 Correct "no comment" warnings from javadoc in core-libs packages
  3. JDK-8252940

Correct "no comment" warnings from javadoc in java.security packages

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 16
    • security-libs

      See the reports of missing javadoc comments:

      http://cr.openjdk.java.net/~jjg/doc-reports/

      Include modules java.base, java.security.jgss, java.security.sasl, jdk.security.auth, jdk.security.jgss

      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/AccessControlException.java:50: warning: no comment
          private Permission perm;
                             ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/AllPermission.java:164: warning: no comment
          private boolean all_allowed; // true if any all permissions have been added
                          ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:265: warning: no @param for s
          private void readObject(ObjectInputStream s)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:265: warning: no @throws for java.io.IOException
          private void readObject(ObjectInputStream s)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:265: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(ObjectInputStream s)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:522: warning: no @param for in
          private void readObject(java.io.ObjectInputStream in)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:522: warning: no @throws for java.io.IOException
          private void readObject(java.io.ObjectInputStream in)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:522: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(java.io.ObjectInputStream in)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:500: warning: no @param for out
          private void writeObject(ObjectOutputStream out) throws IOException {
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/BasicPermission.java:500: warning: no @throws for java.io.IOException
          private void writeObject(ObjectOutputStream out) throws IOException {
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSigner.java:170: warning: no comment
          private void readObject(ObjectInputStream ois)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSigner.java:56: warning: no comment
          private Timestamp timestamp;
                            ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSource.java:562: warning: no @param for ois
          private void readObject(java.io.ObjectInputStream ois)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSource.java:562: warning: no @throws for java.io.IOException
          private void readObject(java.io.ObjectInputStream ois)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSource.java:562: warning: no @throws for java.lang.ClassNotFoundException
          private void readObject(java.io.ObjectInputStream ois)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSource.java:527: warning: no @param for oos
          private void writeObject(java.io.ObjectOutputStream oos)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/CodeSource.java:527: warning: no @throws for java.io.IOException
          private void writeObject(java.io.ObjectOutputStream oos)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/GuardedObject.java:99: warning: no @param for oos
          private void writeObject(java.io.ObjectOutputStream oos)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/GuardedObject.java:99: warning: no @throws for java.io.IOException
          private void writeObject(java.io.ObjectOutputStream oos)
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/GuardedObject.java:58: warning: no comment
          private Guard guard; // the guard
                        ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/GuardedObject.java:56: warning: no comment
          private Object object; // the object we are guarding
                         ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/KeyPair.java:47: warning: no comment
          private PrivateKey privateKey;
                             ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/KeyPair.java:48: warning: no comment
          private PublicKey publicKey;
                            ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/Permission.java:71: warning: no comment
          private String name;
                         ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/PermissionCollection.java:103: warning: no comment
          private volatile boolean readOnly;
                                   ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/Permissions.java:606: warning: no comment
          private void readObject(ObjectInputStream in) throws IOException,
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/Permissions.java:587: warning: no @param for out
          private void writeObject(ObjectOutputStream out) throws IOException {
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/Permissions.java:587: warning: no @throws for java.io.IOException
          private void writeObject(ObjectOutputStream out) throws IOException {
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/PrivilegedActionException.java:118: warning: no comment
          private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/PrivilegedActionException.java:131: warning: no comment
          private void writeObject(ObjectOutputStream out) throws IOException {
                       ^
      /Users/rriggs/ws/jdk-git/open/src/java.base/share/classes/java/security/PrivilegedActionException.java:101: warning: no description for @serialField
           * @serialField undeclaredThrowable Throwable
             ^
      100 warnings

            wetmore Bradford Wetmore
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: