[jdk16] Integrated: JDK-8253996: Javac error on jdk16 build 18: invalid flag: -Xdoclint:-missing

Jonathan Gibbons jjg at openjdk.java.net
Mon Jan 11 17:39:22 UTC 2021

On Wed, 23 Dec 2020 00:01:11 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> This PR improves the diagnostic when javac is run in an image that does not provide a service provider for DocLint.
> Instead of reporting messages about unsupported options, the following warning will be generated:
> `
> Warning: No service provider for doclint is available
> `
> In addition, as a minor cleanup, in the `jdk.javadoc` module, javadoc b bypasses the service loader to access `doclint` directly.

This pull request has now been integrated.

Changeset: 2cb271e6
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk16/commit/2cb271e6
Stats:     96 lines in 6 files changed: 88 ins; 1 del; 7 mod

8253996: Javac error on jdk16 build 18: invalid flag: -Xdoclint:-missing

Reviewed-by: hannesw


PR: https://git.openjdk.java.net/jdk16/pull/60

More information about the compiler-dev mailing list