Polishing
This commit is contained in:
parent
f8121515bf
commit
9c92b21af8
|
|
@ -677,13 +677,16 @@ class ConfigurationClassParser {
|
||||||
if (className.startsWith("java")) {
|
if (className.startsWith("java")) {
|
||||||
// Never use ASM for core java types
|
// Never use ASM for core java types
|
||||||
try {
|
try {
|
||||||
return new SourceClass(ClassUtils.forName(className, this.resourceLoader.getClassLoader()));
|
return new SourceClass(ClassUtils.forName(className,
|
||||||
|
this.resourceLoader.getClassLoader()));
|
||||||
}
|
}
|
||||||
catch (ClassNotFoundException ex) {
|
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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Core support package for annotations, meta-annotations, and composed
|
* Core support package for annotations, meta-annotations, and merged
|
||||||
* annotations with attribute overrides.
|
* annotations with attribute overrides.
|
||||||
*/
|
*/
|
||||||
@NonNullApi
|
@NonNullApi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue