spring-projects / spring-projects/spring-security
Javadoc Search contains /undefined in URLs which leads to 404s
@sjohnr is already working on this.
Since Apr 29, 2022.
- Dominant language
- Java
- Stars
- 9.6k
- Forks
- 6.3k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 52
Description
Originally reported via @wilkinsona
On https://docs.spring.io/spring-security/site/docs/5.7.0-SNAPSHOT/api/org/springframework/security/config/annotation/web/builders/HttpSecurity.html, if I search for WebSecurityConfigurerAdapter and click on the only result in the Types section, I takes me to https://docs.spring.io/spring-security/site/docs/5.7.0-SNAPSHOT/api/undefined/org/springframework/security/config/annotation/web/configuration/WebSecurityConfigurerAdapter.htmlwhich 404s.
It appears to be related to https://bugs.openjdk.java.net/browse/JDK-8215291 which was fixed in JDK 12. This seems to be confirmed by the fact that https://docs.spring.io/spring-security/site/docs/5.7.0-SNAPSHOT/api/org/springframework/security/config/annotation/web/builders/HttpSecurity.html works properly and is using JDK 17.
There are reports that adding --no-module-directories will fix the links, but it also breaks links to classes and interfaces that are in modules (i.e. JDK classes/interfaces).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.