You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2019/01/31 16:09:00 UTC

[jira] [Created] (MJAVADOC-574) Unable to inherit Javadoc comments for overriden JDK methods

Gili created MJAVADOC-574:
-----------------------------

             Summary: Unable to inherit Javadoc comments for overriden JDK methods
                 Key: MJAVADOC-574
                 URL: https://issues.apache.org/jira/browse/MJAVADOC-574
             Project: Maven Javadoc Plugin
          Issue Type: Bug
          Components: javadoc
    Affects Versions: 3.1.0
            Reporter: Gili
         Attachments: testcase.zip

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?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)