AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue

This commit is contained in:
Juergen Hoeller
2018-08-09 01:52:16 +02:00
parent d8d04d82c1
commit a159dd5993
2 changed files with 11 additions and 5 deletions

View File

@@ -1392,6 +1392,9 @@ public abstract class AnnotationUtils {
ReflectionUtils.makeAccessible(method);
return method.invoke(annotation);
}
catch (NoSuchMethodException ex) {
return null;
}
catch (InvocationTargetException ex) {
rethrowAnnotationConfigurationException(ex.getTargetException());
throw new IllegalStateException(