RFR: 8286444: javac errors after JDK-8251329 are not helpful enough to find root cause

Sean Mullan mullan at openjdk.java.net
Thu May 12 15:10:59 UTC 2022


On Wed, 11 May 2022 15:41:00 GMT, Christoph Langer <clanger at openjdk.org> wrote:

> > It's probably ok, but the bug report is either incomplete or I am missing something. It says "This can be improved to something like: ..." but the same text as is emitted now is used. Can you fix this so I have a better example of what will be included in the message?
> 
> Good catch, I pasted two times the error message after the proposed patch. Fixed.

Thanks. This change and the other change in 8286594 to the exception message seems fine to me from a security perspective. However, I won't be adding my name as Reviewer as I have not reviewed the actual code.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8616


More information about the compiler-dev mailing list