-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Javadoc search returns broken links #3949
Comments
This has been fixed with #3780 |
@olamy How could this have been fixed by a merge from June if the website is currently broken? Was the fix never applied to the website? |
Will be with next release
On Fri, 9 Aug 2019 at 2:52 pm, Gili Tzabari ***@***.***> wrote:
@olamy <https://github.com/olamy> How could this have been fixed by a
merge from June if the website is currently broken? Was the fix never
applied to the website?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3949>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAE2ECTO44RGACPBIFDW2DQDTZ2DANCNFSM4IKQH3UQ>
.
--
Olivier
|
Closing. @olamy reports it is fixed. |
@joakime @olamy I don't think this issue is fixed. Repro steps:
Any ideas? |
The api search results are definitely broken. |
uhm building locally from |
Make sure you're using JDK12 or newer for generating the Javadoc: https://bugs.openjdk.org/browse/JDK-8215291 |
The Jetty 9.4.x build/test/release/javadoc is built using Java 11. The Jetty 10 and Jetty 11 build/test/release/javadoc uses Java 17 |
@joakime You could use one of the workarounds mentioned at https://stackoverflow.com/q/52326318/14731 or you could run just the Either approach should work. |
The "significant work" part of that statement has to do with updating the javadoc across the whole project to satisfy the stricter rules in Java 17's javadoc tooling. The way javadoc builds on Jetty 9.x is via the maven plugin |
@joakime In that case, I suggest using https://stackoverflow.com/a/52603413/14731 for Jetty 9- and changing the JDK used by Jetty 10+'s |
The reworking of Jetty 9 to use the techniques in Jetty 10 is significant (as stated several times now), and out of scope for a end of community support version of Jetty. |
@joakime The description of https://bugs.openjdk.org/browse/JDK-8215291 explains that this bug occurs when generating Javadoc for projects that have no module directories (the case you described for Jetty 9). Try |
Sorry I should clarify. I am under the impression that you're asking for a fix for Jetty 9. If you are instead saying that you don't plan to update Jetty 9 (because it no longer has community support) then we can focus on getting Jetty 10+ working. |
This is the process we currently use to update the website for releases, the javadoc portion is a bit busted at the moment and we haven't taken the time to sort it out again, javadoc is hopelessly fragile these days. https://git.eclipse.org/c/www.eclipse.org/jetty.git/tree/_update_for_releases.sh |
fixed |
Repro steps:
https://www.eclipse.org/jetty/javadoc/9.4.19.v20190610/undefined/org/eclipse/jetty/proxy/AbstractProxyServlet.html
If you remove
undefined
from the URL the link works.The text was updated successfully, but these errors were encountered: