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

inheritDoc doesn't inherit @throws

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      I have read https://docs.oracle.com/en/java/javase/22/docs/specs/javadoc/doc-comment-spec.html
      but I still don't understand why if the parent (over-ridden) method declares
      @throws BlahException
      that inheritDoc does not show it in the subclass (over-riding) method doc.

            nbenalla Nizar Benalla
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: