Polishing
This commit is contained in:
committed by
Juergen Hoeller
parent
f8121515bf
commit
9c92b21af8
@@ -677,13 +677,16 @@ class ConfigurationClassParser {
|
||||
if (className.startsWith("java")) {
|
||||
// Never use ASM for core java types
|
||||
try {
|
||||
return new SourceClass(ClassUtils.forName(className, this.resourceLoader.getClassLoader()));
|
||||
return new SourceClass(ClassUtils.forName(className,
|
||||
this.resourceLoader.getClassLoader()));
|
||||
}
|
||||
catch (ClassNotFoundException ex) {
|
||||
throw new NestedIOException("Failed to load class [" + className + "]", ex);
|
||||
throw new NestedIOException(
|
||||
"Failed to load class [" + className + "]", ex);
|
||||
}
|
||||
}
|
||||
return new SourceClass(this.metadataReaderFactory.getMetadataReader(className));
|
||||
return new SourceClass(
|
||||
this.metadataReaderFactory.getMetadataReader(className));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user