aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2017-10-30 09:39:50 -0700
committerAndy Clement <aclement@pivotal.io>2017-10-30 09:39:50 -0700
commit7f0dc0dd21115bfcc9d0ba830e57cc369054d3d5 (patch)
tree2b455f978801616d8bf3e25ed8928f229f5a32be /org.aspectj.matcher
parent189eb5a07a3120ac1c89222d5e01e47c0b730f33 (diff)
downloadaspectj-7f0dc0dd21115bfcc9d0ba830e57cc369054d3d5.tar.gz
aspectj-7f0dc0dd21115bfcc9d0ba830e57cc369054d3d5.zip
Fixes Bug 526594
Compile error: ClassCastException thrown: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature cannot be cast to ReferenceType
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/World.java3
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()) {