now able to resolve array types to classes

This commit is contained in:
alepar 2011-11-23 15:18:43 +04:00
parent 800a9fc20d
commit cee5ee5679

View File

@ -10,7 +10,11 @@ class ClassloaderClassResolver implements ClassResolver {
@Override
public Class<?> resolve(String className) throws ClassNotFoundException {
return classLoader.loadClass(className);
try {
return classLoader.loadClass(className);
} catch (ClassNotFoundException e) {
return Class.forName(className, false, classLoader);
}
}
}