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

Cannot link to javadoc from jdk11's javadoc tool #801

@ST-DDT

Description

@ST-DDT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions