Skip to content

Commit

Permalink
Merge pull request #44336 from yrodiere/arc-inactive-error-synthetic-…
Browse files Browse the repository at this point in the history
…injectionpoints

Do not try to list synthetic injection points in "inactive bean" errors
  • Loading branch information
gsmet authored Nov 6, 2024
2 parents 2b429ab + f459659 commit 193e60a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ private void implementCreateForSyntheticBean(ClassCreator beanCreator, BeanInfo

List<InjectionPointInfo> matchingIPs = new ArrayList<>();
for (InjectionPointInfo injectionPoint : bean.getDeployment().getInjectionPoints()) {
if (bean.equals(injectionPoint.getResolvedBean())) {
if (!injectionPoint.isSynthetic() && bean.equals(injectionPoint.getResolvedBean())) {
matchingIPs.add(injectionPoint);
}
}
Expand Down

0 comments on commit 193e60a

Please sign in to comment.