Better use NoOpTypeParameterMatcher as a class path source

.. because we tries to load it really
This commit is contained in:
Trustin Lee 2013-06-12 08:24:36 +09:00
parent be695636d2
commit 2320a13a4e

View File

@ -35,7 +35,7 @@ public final class JavassistTypeParameterMatcherGenerator {
private static final ClassPool classPool = new ClassPool(true); private static final ClassPool classPool = new ClassPool(true);
static { static {
classPool.appendClassPath(new ClassClassPath(JavassistTypeParameterMatcherGenerator.class)); classPool.appendClassPath(new ClassClassPath(NoOpTypeParameterMatcher.class));
} }
public void appendClassPath(ClassPath classpath) { public void appendClassPath(ClassPath classpath) {