Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions