Integrated: 8334757: AssertionError: Missing type variable in where clause
Liam Miller-Cushon
cushon at openjdk.org
Mon Jul 8 20:11:40 UTC 2024
On Sat, 22 Jun 2024 01:10:01 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:
> Please consider this fix for [JDK-8334757](https://bugs.openjdk.org/browse/JDK-8334757).
>
> This adds a missing case to argument preprocessing in `RichDiagnosticFormatter` to handle the `JCDiagnostic.AnnotatedType` wrapper types, which avoids a crash when types with type variables appear as arguments for diagnostics that use `JCDiagnostic.AnnotatedType`.
>
> The wrapper type was introduced by [JDK-8291643](https://bugs.openjdk.org/browse/JDK-8291643) and is only used by the diagnostics introduced in [JDK-8043226](https://bugs.openjdk.org/browse/JDK-8043226), so backing out JDK-8043226 could also be considered.
This pull request has now been integrated.
Changeset: babf6df7
Author: Liam Miller-Cushon <cushon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/babf6df7d97e4beedb25e689634d999412c1e950
Stats: 24 lines in 3 files changed: 24 ins; 0 del; 0 mod
8334757: AssertionError: Missing type variable in where clause
Reviewed-by: jlahoda, vromero
-------------
PR: https://git.openjdk.org/jdk/pull/19840
More information about the compiler-dev
mailing list