[jdk21u-dev] RFR: 8359336: javac crashes with NPE while iterating params of MethodSymbol
Liam Miller-Cushon
cushon at openjdk.org
Tue Jun 24 15:54:37 UTC 2025
On Tue, 24 Jun 2025 08:27:06 GMT, Severin Gehwolf <sgehwolf 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.
javac `-XD` flags are internal/undocumented/unsupported, and as far as I know generally don't have CSRs. @vicente-romero-oracle does that sound right?
-------------
PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/1916#discussion_r2164371666
More information about the jdk-updates-dev
mailing list