guava icon indicating copy to clipboard operation
guava copied to clipboard

Javadoc -link broken due to missing package-list file

Open archiecobbs opened this issue 3 years ago • 3 comments

When building the Javadoc for a pre-Java 11 project that want's to link to Guava's Javadoc, that linking fails.

E.g., in Maven:

1 warning
[WARNING] Javadoc Warnings
[WARNING] javadoc: warning - Error fetching URL: https://guava.dev/releases/30.0-jre/api/docs/

The cause is that there is no https://guava.dev/releases/30.0-jre/api/docs/package-list, because package-list has been renamed to element-list. This bug is described in more detail here: JDK-8211194.

Could you add a workaround similar to the one the Gradle project did?

archiecobbs avatar Jul 19 '21 17:07 archiecobbs

could i work on this if its available?

unnati914 avatar Aug 24 '21 05:08 unnati914

could i work on this if its available?

Yes, feel free. Thanks!

eamonnmcmanus avatar Aug 24 '21 14:08 eamonnmcmanus

Hi. My build is failing on this issue.

@unnati914 Any progress?

Is anything preventing you from using JDK 12+ (where this issue is fixed) for the Javadoc task and the older JDK for everything else?

cowwoc avatar Sep 15 '22 18:09 cowwoc