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

[jira] [Closed] (MJAVADOC-561) Not possible to link to JDK classes since Java 11

     [ https://issues.apache.org/jira/browse/MJAVADOC-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MJAVADOC-561.
-----------------------------------
       Resolution: Not A Problem
         Assignee: Michael Osipov
    Fix Version/s:     (was: waiting-for-feedback)

By consent, this is not a problem in this plugin, but in the JDK scheduled to be fixed soon.

> Not possible to link to JDK classes since Java 11
> -------------------------------------------------
>
>                 Key: MJAVADOC-561
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-561
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: jar
>    Affects Versions: 3.1.0
>            Reporter: Gili
>            Assignee: Michael Osipov
>            Priority: Critical
>         Attachments: testcase.zip
>
>
> 1. Open testcase
> 2. {{mvn javadoc:jar}}
> 3. Notice that generated Javadoc contains broken link to {{java.lang.Number}}
> It doesn't look like one can link to the JDK as of version 11 because the URL structure changed since Java 10.
> Java 10: https://docs.oracle.com/javase/10/docs/api/java/lang/Number.html
> Java 11: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Number.html
> Please see https://bugs.openjdk.java.net/browse/JDK-8191363 for a related discussion. If any syntax change is required in the pom, please consider updating https://maven.apache.org/plugins/maven-javadoc-plugin/examples/links-configuration.html accordingly.



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