Guard against null in #visitInnerClass
Issue: SPR-8358,SPR-8186
This commit is contained in:
parent
95b1dbadb0
commit
4a6101a697
|
|
@ -80,9 +80,9 @@ class ClassMetadataReadingVisitor implements ClassVisitor, ClassMetadata {
|
|||
}
|
||||
|
||||
public void visitInnerClass(String name, String outerName, String innerName, int access) {
|
||||
if (outerName != null) {
|
||||
String fqName = ClassUtils.convertResourcePathToClassName(name);
|
||||
String fqOuterName = ClassUtils.convertResourcePathToClassName(outerName);
|
||||
if (outerName != null) {
|
||||
if (this.className.equals(fqName)) {
|
||||
this.enclosingClassName = fqOuterName;
|
||||
this.independentInnerClass = ((access & Opcodes.ACC_STATIC) != 0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue