We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a71a0c commit c94d584Copy full SHA for c94d584
spring-core/src/main/java/org/springframework/core/annotation/OrderUtils.java
@@ -40,8 +40,8 @@ public abstract class OrderUtils {
40
priorityAnnotationType = (Class<? extends Annotation>)
41
ClassUtils.forName("javax.annotation.Priority", OrderUtils.class.getClassLoader());
42
}
43
- catch (ClassNotFoundException ex) {
44
- // javax.annotation.Priority not available
+ catch (Throwable ex) {
+ // javax.annotation.Priority not available, or present but not loadable (on JDK 6)
45
46
47
0 commit comments