DATACMNS-1074 - Removed reference to JDK 8 method.
Method.isDefault() is JDK 8 API. Replaced by our JDK 6 equivalent in ReflectionUtils. Original pull request: #221.
This commit is contained in:
@@ -52,7 +52,7 @@ public class DefaultMethodInvokingMethodInterceptor implements MethodInterceptor
|
||||
|
||||
Method method = invocation.getMethod();
|
||||
|
||||
if (!method.isDefault()) {
|
||||
if (!org.springframework.data.util.ReflectionUtils.isDefaultMethod(method)) {
|
||||
return invocation.proceed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user