Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8231859

Extra dash after the exception name in @throws clause of javadoc

    Details

    • Resolved In Build:
      b20
    • Verification:
      Not verified

      Description

      Some @throws clauses have this extra dash after the exception name, which results in double dash in the generated HTML.

      Examples:
      src/java.base/share/classes/java/util/PropertyPermission.java: * @throws IllegalArgumentException - if the permission is not a
      src/java.base/share/classes/java/util/PropertyPermission.java: * @throws SecurityException - if this PropertyPermissionCollection
      src/java.base/share/classes/java/security/PermissionCollection.java: * @throws SecurityException - if this PermissionCollection object
      src/java.base/share/classes/java/security/PermissionCollection.java: * @throws IllegalArgumentException - if this PermissionCollection
      src/java.base/share/classes/java/security/AllPermission.java: * @throws IllegalArgumentException - if the permission is not a
      src/java.base/share/classes/java/security/AllPermission.java: * @throws SecurityException - if this AllPermissionCollection object
      src/java.base/share/classes/java/security/Policy.java: * @throws SecurityException - if this PermissionCollection object
      src/java.base/share/classes/java/security/BasicPermission.java: * @throws IllegalArgumentException - if the permission is not a
      src/java.base/share/classes/java/security/BasicPermission.java: * @throws SecurityException - if this BasicPermissionCollection object
      src/java.base/share/classes/java/io/FilePermission.java: * @throws IllegalArgumentException - if the permission is not a
      src/java.base/share/classes/java/io/FilePermission.java: * @throws SecurityException - if this FilePermissionCollection object

        Attachments

          Activity

            People

            • Assignee:
              igerasim Ivan Gerasimov
              Reporter:
              igerasim Ivan Gerasimov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: