RFR: 8220632: Suggest recompiling with a larger value of -Xmaxerrs/-Xmaxwarns if diagnostics were suppressed
Jonathan Gibbons
jonathan.gibbons at oracle.com
Fri Mar 15 17:19:09 UTC 2019
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"
-- Jon
On 3/14/19 6:53 PM, Liam Miller-Cushon wrote:
> This change adds notes if diagnostics were suppressed due to the
> current value of -Xmaxerrs/-Xmaxwarns, e.g.:
>
> ```
> 3 more warnings not shown; consider recompiling with -Xmaxwarns 100 to
> see them
> ```
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8220632
> webrev: http://cr.openjdk.java.net/~cushon/8220632/webrev.00/
More information about the compiler-dev
mailing list