diff options
author | Andy Clement <aclement@pivotal.io> | 2017-10-30 09:39:50 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2017-10-30 09:39:50 -0700 |
commit | 7f0dc0dd21115bfcc9d0ba830e57cc369054d3d5 (patch) | |
tree | 2b455f978801616d8bf3e25ed8928f229f5a32be | |
parent | 189eb5a07a3120ac1c89222d5e01e47c0b730f33 (diff) | |
download | aspectj-7f0dc0dd21115bfcc9d0ba830e57cc369054d3d5.tar.gz aspectj-7f0dc0dd21115bfcc9d0ba830e57cc369054d3d5.zip |
Fixes Bug 526594
Compile error: ClassCastException thrown: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature cannot be cast to ReferenceType
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/World.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java index 8af6cc528..6bba2d551 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java @@ -463,6 +463,9 @@ public abstract class World implements Dump.INode { // ======= generic types ====================== ResolvedType rt = resolveGenericTypeFor(ty, false); ReferenceType genericType = (ReferenceType) rt; + if (rt.isMissing()) { + return rt; + } return genericType; } else if (ty.isGenericWildcard()) { |