Преглед на файлове

482945: obfuscated class file finding outer class

tags/V1_8_8
Andy Clement преди 8 години
родител
ревизия
9b220fe52a
променени са 1 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. 7
    3
      org.aspectj.matcher/src/org/aspectj/weaver/AbstractReferenceTypeDelegate.java

+ 7
- 3
org.aspectj.matcher/src/org/aspectj/weaver/AbstractReferenceTypeDelegate.java Целия файл

@@ -107,9 +107,13 @@ public abstract class AbstractReferenceTypeDelegate implements ReferenceTypeDele
List<GenericSignature.FormalTypeParameter> typeParameters = new ArrayList<GenericSignature.FormalTypeParameter>();
ResolvedType outerClassType = getOuterClass();
if (!(outerClassType instanceof ReferenceType)) {
throw new BCException("Whilst processing type '" + this.resolvedTypeX.getSignature()
+ "' - cannot cast the outer type to a reference type. Signature=" + outerClassType.getSignature()
+ " toString()=" + outerClassType.toString());
if (outerClassType == null) {
return GenericSignature.FormalTypeParameter.NONE;
} else {
throw new BCException("Whilst processing type '" + this.resolvedTypeX.getSignature()
+ "' - cannot cast the outer type to a reference type. Signature=" + outerClassType.getSignature()
+ " toString()=" + outerClassType.toString());
}
}
ReferenceType outer = (ReferenceType) outerClassType;
ReferenceTypeDelegate outerDelegate = outer.getDelegate();

Loading…
Отказ
Запис