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

Ron Shapiro ronshapiro at google.com
Fri Mar 15 18:11:31 UTC 2019


Regarding Jonathan's comments in the bug, would it be helpful/possible to
categorize the types of diagnostics not shown? For built-in diagnostics we
could try to group (maybe just the popular ones?) by their key?

42 symbols could not be found
15 errors from com.example.proc.ExampleProcessor
etc

?

On Fri, Mar 15, 2019 at 2:11 PM Jonathan Gibbons <
jonathan.gibbons at oracle.com> wrote:

>
> On 3/15/19 11:04 AM, Liam Miller-Cushon wrote:
>
> On Fri, Mar 15, 2019 at 10:31 AM Jonathan Gibbons <
> jonathan.gibbons at oracle.com> wrote:
>
>> You could report the current limit and the total number.
>>
> That sounds good to me.
>
> Perhaps:
>
> only showing the first 100 warnings (of 142 total); consider recompiling
> with a higher value of -Xmaxwarns
>
> Sounds good to me!
>
> -- Jon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20190315/5b801a91/attachment-0001.html>


More information about the compiler-dev mailing list