#321 - Remove dependency to Objenesis.

We're now using the inlined version of Objenesis in Spring Framework to avoid the additional dependency.
This commit is contained in:
Oliver Gierke
2015-03-19 13:34:41 +01:00
parent dc90d23da7
commit 2bcfd92c3b
3 changed files with 3 additions and 10 deletions

View File

@@ -20,13 +20,13 @@ import java.util.Arrays;
import java.util.Iterator;
import org.aopalliance.intercept.MethodInterceptor;
import org.objenesis.ObjenesisStd;
import org.springframework.aop.framework.ProxyFactory;
import org.springframework.aop.target.EmptyTargetSource;
import org.springframework.cglib.proxy.Callback;
import org.springframework.cglib.proxy.Enhancer;
import org.springframework.cglib.proxy.Factory;
import org.springframework.cglib.proxy.MethodProxy;
import org.springframework.objenesis.ObjenesisStd;
import org.springframework.util.Assert;
import org.springframework.util.ReflectionUtils;
@@ -149,7 +149,8 @@ public class DummyInvocationUtils {
}
@SuppressWarnings("unchecked")
private static <T> T getProxyWithInterceptor(Class<?> type, InvocationRecordingMethodInterceptor interceptor, ClassLoader classLoader) {
private static <T> T getProxyWithInterceptor(Class<?> type, InvocationRecordingMethodInterceptor interceptor,
ClassLoader classLoader) {
if (type.isInterface()) {