You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-beans/src/main/java/org/springframework/beans/factory/aot/DefaultBeanRegistrationCodeFragments.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,9 @@ class DefaultBeanRegistrationCodeFragments implements BeanRegistrationCodeFragme
79
79
@Override
80
80
public ClassName getTarget(RegisteredBean registeredBean) {
81
81
if (hasInstanceSupplier()) {
82
-
throw new IllegalStateException("Default code generation is not supported for bean definitions "
83
-
+ "declaring an instance supplier callback: " + registeredBean.getMergedBeanDefinition());
Copy file name to clipboardExpand all lines: spring-beans/src/test/java/org/springframework/beans/factory/aot/DefaultBeanRegistrationCodeFragmentsTests.java
0 commit comments