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:
Oliver Gierke
2017-06-07 10:51:05 +02:00
parent 6c7599c489
commit 738ff9c8d3

View File

@@ -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();
}