Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix introduction advise skipping methods of generated super interfaces #11652

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

graemerocher
Copy link
Contributor

previously super interfaces were filtered out if there were errors but the correct thing to do is throw ElementPostponedToNextRoundException on first access. In addition BeanDefinitionInjectProcessor was not handling ElementPostponedToNextRoundException so exceptions thrown during bean definition processing did not cause a retry on the second round. Ideally we should get rid of the non-public PostponeToNextRoundException at some point.

Verified

This commit was signed with the committer’s verified signature.
mkniewallner Mathieu Kniewallner
@graemerocher graemerocher added the type: bug Something isn't working label Mar 11, 2025
@graemerocher graemerocher requested a review from dstepanov March 11, 2025 10:49
@graemerocher graemerocher merged commit dd1e0f7 into 4.7.x Mar 11, 2025
19 of 20 checks passed
@graemerocher graemerocher deleted the postponed-introduction-generation-bug branch March 11, 2025 12:53
graemerocher added a commit that referenced this pull request Mar 11, 2025

Verified

This commit was signed with the committer’s verified signature.
mkniewallner Mathieu Kniewallner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants