On Mon, 11 Jan 2021 15:02:31 GMT, Hannes Wallnöfer <hann...@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.
>
> test/langtools/tools/javac/doclint/LimitedImage.java line 62:
> 
>> 60:         );
>> 61: 
>> 62:         //check proper diagnostics when zip/jar FS not present:
> 
> Should be "doclint" or "javadoc" instead of "zip/jar FS"

I had to double check, but yes; thanks: good catch

-------------

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

Reply via email to