@ -453,9 +453,9 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
ClassUtils . toClassArray ( ifcs ) , targetClass . getClassLoader ( ) ) ;
ClassUtils . toClassArray ( ifcs ) , targetClass . getClassLoader ( ) ) ;
targetMethod = ClassUtils . getMostSpecificMethod ( targetMethod , compositeInterface ) ;
targetMethod = ClassUtils . getMostSpecificMethod ( targetMethod , compositeInterface ) ;
}
}
// Implemented interfaces probably expose conflicting method signatures...
catch ( IllegalArgumentException ex ) {
// Proceed with original target method .
// Implemented interfaces probably expose conflicting method signatures.. .
catch ( IllegalArgumentException ignored ) {
// Proceed with original target method.
}
}
}
}
}
}
@ -478,7 +478,7 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
try {
try {
shadowMatch = pointcutExpression . matchesMethodExecution ( methodToMatch ) ;
shadowMatch = pointcutExpression . matchesMethodExecution ( methodToMatch ) ;
}
}
catch ( ReflectionWorldException ignored ) {
catch ( ReflectionWorldException ex ) {
// Failed to introspect target method, probably because it has been loaded
// Failed to introspect target method, probably because it has been loaded
// in a special ClassLoader. Let's try the declaring ClassLoader instead...
// in a special ClassLoader. Let's try the declaring ClassLoader instead...
try {
try {
@ -501,7 +501,7 @@ public class AspectJExpressionPointcut extends AbstractExpressionPointcut
try {
try {
shadowMatch = pointcutExpression . matchesMethodExecution ( methodToMatch ) ;
shadowMatch = pointcutExpression . matchesMethodExecution ( methodToMatch ) ;
}
}
catch ( ReflectionWorldException ignored ) {
catch ( ReflectionWorldException ex ) {
// Could neither introspect the target class nor the proxy class ->
// Could neither introspect the target class nor the proxy class ->
// let's try the original method's declaring class before we give up...
// let's try the original method's declaring class before we give up...
try {
try {