-
Notifications
You must be signed in to change notification settings - Fork 27
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
package-list cannot be fetched by javadoc 12 #21
Comments
Somewhat related: #17 which is closed, but should not be. |
What do you expect to see under url: https://static.javadoc.io/com.google.guava/guava/27.1-jre/package-list/ ? If you unzip this jar, it doesn't really contain a http://central.maven.org/maven2/com/google/guava/guava/27.1-jre/guava-27.1-jre-javadoc.jar |
I think the original author is trying to say that |
In case it ends up being relevant, here is a link to the source code of I'll also follow up with a link to the You can see I hope that with later JDKs an attempt is made to read |
Same as https://static.javadoc.io/com.google.guava/guava/27.1-jre/package-list (no trailing slash) — it appears to be a text file with a list of packages. javadoc 12 requests it with and only with a trailing slash, and fails if this resource cannot be fetched. |
Instead of the one under static.javadoc.io domain, have you tried to use: https://javadoc.io/page/com.google.guava/guava/27.1-jre/package-list/ ? So that the trailing slash can be properly handled. I am closing this now. But feel free to reopen if this still doesn't work. |
Thank you, such URL no longer causes a javadoc failure, at least on 13! The bad news is it still errors with no extra info:
That might be an issue in how javadoc utility handles redirects when requesting the resource, because it works for a module published on another web-site which does not redirect, but I haven't investigated further. |
Hi,
javadoc 12 cannot fetch "package-list" file, although it is avalable.
It seems that the javadoc tool uses "package-list/" path (which returns an error shown below). The "package-list" works perfectly with the current javadoc.io version:
Would it be possible please to expose "package-list" and similar files used by the javadoc tool to generate links regardless of whether there is a trailing slash
/
?The text was updated successfully, but these errors were encountered: