8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null#25098
8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null#25098asotona wants to merge 1 commit intoopenjdk:masterfrom
Conversation
|
👋 Welcome back asotona! A progress list of the required criteria for merging this PR into |
|
@asotona This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
Thanks for the review! |
|
Going to push as commit 1d36f17.
Your commit was automatically rebased without conflicts. |
Javac throws NPE in very specific circumstances described in JDK-8351232.
The NPE has been fixed as a side effect of "stripMetadata" call in the recent JDK-8355065 fix.
This PR only adds a test case to avoid regression of the NPE.
Please review.
Thank you,
Adam
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25098/head:pull/25098$ git checkout pull/25098Update a local copy of the PR:
$ git checkout pull/25098$ git pull https://git.openjdk.org/jdk.git pull/25098/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25098View PR using the GUI difftool:
$ git pr show -t 25098Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25098.diff
Using Webrev
Link to Webrev Comment