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

Severin Gehwolf sgehwolf at openjdk.org
Tue Jun 24 16:36:34 UTC 2025


On Tue, 24 Jun 2025 15:49:46 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> 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?

Yeah, came to the same conclusion. Thanks.

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

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


More information about the jdk-updates-dev mailing list