Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken links generated by the search feature since the upgrade to JDK 11 in development environement #119

Closed
marcwrobel opened this issue Jul 5, 2022 · 1 comment
Labels
Milestone

Comments

@marcwrobel
Copy link
Owner

marcwrobel commented Jul 5, 2022

It seems the links generated by the javadoc search feature are broken since the upgrade to JDK 11 in development environement.

Step to reproduce (with a JDK 11) :

  1. Execute mvn -B javadoc:jar
  2. Unzip the generated javadoc jar
  3. Open index.html in a browser
  4. Search for Iban
  5. Click on the type fr.marcwrobel.jbanking.iban.Iban
  6. The browser display a 404 - Not found error.

The correct link should be file:///path/to/javadoc/fr/marcwrobel/jbanking/iban/Iban.html : undefined must not be concatenated to the broken link.

@marcwrobel
Copy link
Owner Author

marcwrobel commented Jul 5, 2022

It is fixed in JDK 12+, and may be backported in JDK 11 (https://bugs.openjdk.org/browse/JDK-8215291?focusedCommentId=14506100&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14506100).

We will have to upgrade to JDK 17 for development.

@marcwrobel marcwrobel changed the title Broken links generated by the search feature for the latest version Broken links generated by the search feature since the upgrade to JDK 11 in development environement Jul 5, 2022
marcwrobel added a commit that referenced this issue Jul 5, 2022
Javadoc search feature is broken with JDK 11 (https://bugs.openjdk.org/browse/JDK-8215291). This has been fixed in JDK 12+ and will be soon for JDK 11, but we cannot wait.
marcwrobel added a commit that referenced this issue Jul 5, 2022
Javadoc search feature is broken with JDK 11 (https://bugs.openjdk.org/browse/JDK-8215291). This has been fixed in JDK 12+ and will be soon for JDK 11, but we cannot wait.
marcwrobel added a commit that referenced this issue Jul 5, 2022
Javadoc search feature is broken with JDK 11 (https://bugs.openjdk.org/browse/JDK-8215291). This has been fixed in JDK 12+ and will be soon for JDK 11, but we cannot wait.
@marcwrobel marcwrobel added the bug label Jul 5, 2022
@marcwrobel marcwrobel added this to the 3.3.0 milestone Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant