Repeated lint option parsing and difference in behavior

Dawid Weiss dawid.weiss at gmail.com
Sat Jan 11 14:41:38 UTC 2020


Thank you, Jon.

>From what I can see on github this buggy scenario is fairly common...
I checked with Java 11 on and it's present in all versions up to the
most recent one. Should it be backported to LTS releases?

Dawid

On Fri, Jan 10, 2020 at 11:43 PM Jonathan Gibbons
<jonathan.gibbons at oracle.com> wrote:
>
> 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