[jdk21u-dev] RFR: 8359336: javac crashes with NPE while iterating params of MethodSymbol

Severin Gehwolf sgehwolf at openjdk.org
Tue Jun 24 08:29:29 UTC 2025


On Mon, 23 Jun 2025 17:51:06 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change temporarily disables the logic added by JDK-8341779 and related backports, to work around the crash reported in JDK-8359336.

test/langtools/tools/javac/annotations/typeAnnotations/CompletionErrorOnEnclosingType.java line 83:

> 81:                         .outdir(out)
> 82:                         .classpath(out)
> 83:                         .options("-XDrawDiagnostics", "-XDaddTypeAnnotationsToSymbol=true")

I wonder if this new option would need a CSR.

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

PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/1916#discussion_r2163288155


More information about the jdk-updates-dev mailing list