RFR: 8355065: ConcurrentModificationException in RichDiagnosticFormatter
Liam Miller-Cushon
cushon at openjdk.org
Mon Apr 21 17:42:11 UTC 2025
On Mon, 21 Apr 2025 16:18:14 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
> It might also be worthwhile to either update RichDiagnosticFormatter to detect if `format` is called recursively and report an error, or else make it safe and keep a stack of `whereClauses` state to make that correct.
I added a draft of the first approach, which causes it to detect if RichDiagnosticFormatter is used recursively and throws an exception.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24769#issuecomment-2819100291
More information about the compiler-dev
mailing list