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

be more defensive looking up javax.annotation.Priority (jdk6 compatibility) [SPR-12489] #17095

Closed
spring-projects-issues opened this issue Dec 1, 2014 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Dec 1, 2014

zyro opened SPR-12489 and commented

ref. comments: #16962

when javax.annotation.Priority is accidentially present on a jdk6 apps classpath, the lookup in OrderUtils (https://github.com/spring-projects/spring-framework/blob/master/spring-core/src/main/java/org/springframework/core/annotation/OrderUtils.java#L41) causes a java.lang.UnsupportedClassVersionError.

should likely be handled a bit more defensively. thanks, zyro


Affects: 4.1.2

Reference URL: #16962

Issue Links:

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) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants