Closed
Description
HI! I came across the use case when I wanted to create some provider with @lookup but when our BeanFactory has cacheBeanMetadata = false, Spring can't create a proxy for the provider and then @lookup doesn't work.
Here is my unit test for ease reproduction https://github.com/aliaksandr-budnikau/Lookup-annotation-bug/blob/master/src/test/java/org/example/MyComponentProviderTest.java
Thanks,
Alex