Skip to content
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

context:annotation-config skips classes using inner classes in 2.5.1 [SPR-4350] #9029

Closed
spring-projects-issues opened this issue Jan 17, 2008 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 17, 2008

Martin Vanek opened SPR-4350 and commented

i've tried to upgrade from 2.5 to 2.5.1 and i've found that context:annotation-config mechanism is badly broken. From debug log, i can read that classes were found as candidates to be scanned for annotation configuration, but they are never configured, although they have correct annotations (@Component).
I've found "bad reason" why spring skips component. Mechanism skips class containing or using in any method code non static inner class (bytecode contains reference to that inner class). Anonymous inner classes are OK.


Affects: 2.5.1

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

This has fortunately already been reported and fixed. Please try a recent 2.5.2 snapshot (http://static.springframework.org/downloads/nightly/snapshot-download.php?project=SPR) which should work fine in that respect already...

Juergen

@spring-projects-issues spring-projects-issues added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue labels Jan 11, 2019
@spring-projects-issues spring-projects-issues removed the type: bug A general bug label Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants