Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-574

Unable to inherit Javadoc comments for overriden JDK methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 3.1.0
    • None
    • javadoc
    • None
    • JDK 11.0.2

    Description

      If you run mvn javadoc:jar on the attached testcase you will notice that any overriden methods end up with empty Javadoc (aside from a small "Overrides" section. According to https://manpages.debian.org/testing/openjdk-11-jdk-headless/javadoc.1.en.html#METHOD%C2%A0COMMENT%C2%A0INHERITANCE the inherited method must be on the -sourcepath but I'm not sure whether that's even possible for core JDK classes. I mean, am I supposed to download the JDK source-code and link to it somehow?

      Attachments

        1. testcase.zip
          2 kB
          Gili

        Activity

          People

            rfscholte Robert Scholte
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: