Skip to content

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

Closed

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:

Activity

  1. added
    type: bug
    in: core
    on Jan 11, 2019
  2. added this to the 4.1.3 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions