Integrated: 8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null
Adam Sotona
asotona at openjdk.org
Thu May 15 12:06:59 UTC 2025
On Wed, 7 May 2025 14:40:15 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> Javac throws NPE in very specific circumstances described in [JDK-8351232](https://bugs.openjdk.org/browse/JDK-8351232).
> The NPE has been fixed as a side effect of "stripMetadata" call in the recent [JDK-8355065](https://bugs.openjdk.org/browse/JDK-8355065) fix.
>
> This PR only adds a test case to avoid regression of the NPE.
>
> Please review.
>
> Thank you,
> Adam
This pull request has now been integrated.
Changeset: 1d36f173
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1d36f173c4e924d5049f153eceb13b09e7adebab
Stats: 142 lines in 6 files changed: 134 ins; 3 del; 5 mod
8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null
Reviewed-by: liach
-------------
PR: https://git.openjdk.org/jdk/pull/25098
More information about the compiler-dev
mailing list