AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue

This commit is contained in:
Juergen Hoeller
2018-08-09 01:52:16 +02:00
parent c69fdfadfc
commit e94c69149e
2 changed files with 16 additions and 20 deletions

View File

@@ -1370,6 +1370,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(