Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes setting FactoryBean.OBJECT_TYPE_ATTRIBUTE
It was previously ignored, changing it to a class introduces behaviour that breaks aot. This is required by spring-projects/spring-framework@a6ff95a
- Loading branch information
3fc733f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spencergibb This seems to fix problems with spring-projects/spring-framework#29799, but I can see that there is still one place in code where
FactoryBean.OBJECT_TYPE_ATTRIBUTE
is set asString
:spring-cloud-openfeign/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java
Line 294 in 0e9bbb5
I haven't analyzed it deeply, but it seems that it could still cause problems in some situations.