RFR: 8220632: Suggest recompiling with a larger value of -Xmaxerrs/-Xmaxwarns if diagnostics were suppressed

Liam Miller-Cushon cushon at google.com
Fri Mar 15 17:28:01 UTC 2019


On Fri, Mar 15, 2019 at 10:19 AM Jonathan Gibbons <
jonathan.gibbons at oracle.com> wrote:

> For discussion ...
>
> Rather than giving a specific number, how about something more like:
>
> "consider using the -Xmaxwarns option to increase the number of messages
> displayed"
>

Choosing a specific number modulo 100 was somewhat arbitrary, but I was
trying to anticipate the question of what the current value of -Xmaxwarns
is, especially if the user isn't already setting it and is relying on the
default.

Another way to approach that would be for the note to also mention the
total number of diagnostics, so -Xmaxwarns could be raised past that number
if the user wanted to see all diagnostics.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20190315/d28cae93/attachment.html>


More information about the compiler-dev mailing list