now able to resolve array types to classes
This commit is contained in:
parent
800a9fc20d
commit
cee5ee5679
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user