RFR: 8356441: IllegalStateException in RichDiagnosticFormatter after JDK-8355065 [v2]
Liam Miller-Cushon
cushon at openjdk.org
Thu May 8 17:51:13 UTC 2025
On Thu, 8 May 2025 17:08:20 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Thanks! For the purposes of the test the diagnostic text doesn't matter as long as the compiler isn't crashing. I'll look to see if there's a good way to get the diagnostic codes here, another option might be to just relax the assertion to not match on the output.
>
> Yep, or running with jtreg options or flags to ensure the locale of the JVM would work too.
I updated this to just assert it exits with a regular diagnostic error instead of a crash.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25105#discussion_r2080179193
More information about the compiler-dev
mailing list