Improve diagnostics when OrderUtils.getPriority encounters an ArrayStoreException during annotation introspection [SPR-12357] #16962
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
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
callsClass.getAnnotations()
directly so it doesn't benefit from the recent improvements toAnnotationUtils
' diagnostics. CouldOrderUtils.getPriority
be updated to useAnnotationUtils
in a similar fashion toOrderUtils.getOrder
?Affects: 4.1.1
Issue Links:
@Order
Referenced from: commits 2b6f841
The text was updated successfully, but these errors were encountered: