[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:36 UTC 2025


On Tue, 24 Jun 2025 09:44:10 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> Yes, maybe it is better to just comment the call to addTypeAnnotationsToSymbol, and ProblemList the two tests in 21.

Either way could work. `BasicAnnoTests.java` covers other cases and would be nice to avoid disabling entirely. I have a slight preference for the flag based approach, but can do whatever you decide is best.

> And probably we should open a JBS "[21u] Disable logic of 8341779 until 8359336 is fixed". Then we can use 8369336 in the ProblemListing.

I've opened https://bugs.openjdk.org/browse/JDK-8360406, and will create a PR against 21u

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1916#issuecomment-3001039945


More information about the jdk-updates-dev mailing list