Repeated lint option parsing and difference in behavior

Jonathan Gibbons jonathan.gibbons at oracle.com
Fri Jan 10 22:43:15 UTC 2020


Filed

https://bugs.openjdk.java.net/browse/JDK-8236949

-- Jon

On 01/10/2020 07:45 AM, Jonathan Gibbons wrote:
> Dawid,
>
> Thanks for reporting this. If this is the case, it is a bug.
> I'll investigate and file a bug if necessary.
>
> -- Jon
>
> On 1/10/20 7:12 AM, Dawid Weiss wrote:
>> Hello,
>>
>> I just filed a bug for Lucene [1] but I can't explain why there is a
>> difference between calling javadoc with several lint options:
>>
>> javadoc ... -Xdoclint:all -Xdoclint:-missing -Xdoclint:-accessibility
>>
>> versus aggregating them in one line:
>>
>> javadoc ... -Xdoclint:all,-missing,-accessibility
>>
>> It seems to me that the first version disables everything -- none of
>> the lint options are running (no errors are reported) while the second
>> version seems to work just fine.
>>
>> Am I missing something?
>>
>> Dawid
>>
>> [1] https://issues.apache.org/jira/browse/LUCENE-9126



More information about the javadoc-dev mailing list