8305225: A service broken error despite annotation processor generating it if directives listed#14046
8305225: A service broken error despite annotation processor generating it if directives listed#14046lahodaj wants to merge 1 commit intoopenjdk:masterfrom
Conversation
…ng it if directives listed
|
👋 Welcome back jlahoda! A progress list of the required criteria for merging this PR into |
|
@lahodaj 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 288 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit b6c9232.
Your commit was automatically rebased without conflicts. |
Consider code like:
This works fine, until the processor asks for the given module's directives, in which case the build fails with an error like:
The cause for this error is that when the directive is analyzed, the
test.Testis attributed (and any errors from that are delayed due to the annotation processing), but even though it attributes to an erroneous type, it will still be checked whether it has the appropriate constructor, etc.The proposal is to skip the additional checks when the type is an erroneous type. Errors for it should have been reported and handled appropriately (i.e. ignored if resolved by an AP, or reported if not), there does not seem to be any reason to produce any further errors related to the missing type.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/14046/head:pull/14046$ git checkout pull/14046Update a local copy of the PR:
$ git checkout pull/14046$ git pull https://git.openjdk.org/jdk.git pull/14046/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 14046View PR using the GUI difftool:
$ git pr show -t 14046Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/14046.diff
Webrev
Link to Webrev Comment