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
@Import in another annotation still results in double scan [SPR-12334] #16939
Comments
Juergen Hoeller commented As Phil Webb asked on #15546, please create a fresh test case for this which actually fails on 3.2.8 (or preferably 3.2.11)... Juergen |
Alex Pogrebnyak commented Self-contained test below. On my system 2 lines are printed when test is ran.
|
Juergen Hoeller commented Thanks, that helps. The test passes against 4.1.2; I'll backport it to 4.0.8 and 3.2.12, expecting it to fail only in the 3.2.x line. Juergen |
Juergen Hoeller commented Fixed in 3.2.12 through extra tracking of ImportBeanDefinitionRegistrar classes that have been processed already. This is available in the upcoming 3.2.12.BUILD-SNAPSHOT (see http://projects.spring.io/spring-framework/) in the meantime. Would be great if you could give it a try... Juergen |
Alex Pogrebnyak commented Verified FIXED in 3.2.12.BUILD-SNAPSHOT -Alex |
Juergen Hoeller commented Alex, I had to revise the fix due to a regression caused in 3.2.12 (see #17047): We're now finding duplicates at the collectImports level. This will be available in the upcoming 3.2.13 snapshot... Please give it a try once more - it would be great to know whether this variant works for you as well! Juergen |
Alex Pogrebnyak commented Verified FIXED in 3.2.13.BUILD-SNAPSHOT (Snapshot label BUILD-20141124.181259-4) -Alex |
Alex Pogrebnyak opened SPR-12334 and commented
Please reopen this issue -> #15546
It claims that it is fixed in 3.2.5, but I am able to reproduce it with 3.2.8.RELEASE
Affects: 3.2.8
Issue Links:
@Import
annotations when inherited from another annotationThe text was updated successfully, but these errors were encountered: