This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Description
If I try to run javadoc with the -link option I get an error for the grpc-java's javadoc page.
The issue can be reproduced like this:
Test.java
public class Test {
public String test() {
return null;
}
}
Command line
javadoc -link 'https://grpc.io/grpc-java/javadoc/' Test.java
Error message with jdk 11
javadoc: error - Error fetching URL: https://grpc.io/grpc-java/javadoc/
Unfortunately I couldn't get any details why it failed.
I also tried it with other javadoc pages and that seems to work without problems, even if they are generated by an older javadoc version.
-link 'https://docs.oracle.com/javase/7/docs/api/'
-link 'https://docs.oracle.com/javase/8/docs/api/'
-link 'https://docs.spring.io/spring-framework/docs/5.0.9.RELEASE/javadoc-api/'
-link 'https://docs.spring.io/spring-security/site/docs/5.0.9.RELEASE/api/'
There aren't any issues if I use jdk 8. But jdk 8 will be EOL soon, so it would be nice if we could add support for jdk 11 there as well.