Andy Wilkinson opened SPR-12357 and commented
I noticed this while testing the fix for #16930. I was running an app on Tomcat 8 (where javax.annotation.Priority is available).
OrderUtils.getPriority calls Class.getAnnotations() directly so it doesn't benefit from the recent improvements to AnnotationUtils' diagnostics. Could OrderUtils.getPriority be updated to use AnnotationUtils in a similar fashion to OrderUtils.getOrder?
Affects: 4.1.1
Issue Links:
Referenced from: commits 2b6f841
Andy Wilkinson opened SPR-12357 and commented
I noticed this while testing the fix for #16930. I was running an app on Tomcat 8 (where
javax.annotation.Priorityis available).OrderUtils.getPrioritycallsClass.getAnnotations()directly so it doesn't benefit from the recent improvements toAnnotationUtils' diagnostics. CouldOrderUtils.getPrioritybe updated to useAnnotationUtilsin a similar fashion toOrderUtils.getOrder?Affects: 4.1.1
Issue Links:
@OrderReferenced from: commits 2b6f841