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 077d66a9d2
commit 771969d7c4

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