AbstractAspectJAdvisorFactory uses AnnotationUtils.getValue

This commit is contained in:
Juergen Hoeller
2018-08-09 01:52:16 +02:00
parent 7cf98261ce
commit 65f29a39ca
2 changed files with 36 additions and 46 deletions

View File

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