mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
committed by
Juergen Hoeller
parent
f8121515bf
commit
9c92b21af8
+6
-3
@@ -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