diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-10-30 14:33:12 -0700 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-10-30 14:33:12 -0700 |
commit | e91fcabde7a38787ac03b5f98c6588aa8b3e411c (patch) | |
tree | e3f446611b8d6e6b526077f7a33d99abdb1cade0 /org.aspectj.ajdt.core | |
parent | 9a1aa6dc87c29253f488535c68de7c4c4ff0e40a (diff) | |
download | aspectj-e91fcabde7a38787ac03b5f98c6588aa8b3e411c.tar.gz aspectj-e91fcabde7a38787ac03b5f98c6588aa8b3e411c.zip |
Fix 449401: thisAspectInstance compile problem with -1.8
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java index f9b26b59a..88556fccf 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java @@ -513,10 +513,12 @@ public class AjProblemReporter extends ProblemReporter { private final static char[] thisJoinPointName = "thisJoinPoint".toCharArray(); private final static char[] thisJoinPointStaticPartName = "thisJoinPointStaticPart".toCharArray(); private final static char[] thisEnclosingJoinPointStaticPartName = "thisEnclosingJoinPointStaticPart".toCharArray(); + private final static char[] thisAspectInstanceName = "thisAspectInstance".toCharArray(); public void uninitializedLocalVariable(LocalVariableBinding binding, ASTNode location) { if (CharOperation.equals(binding.name, thisJoinPointName) || CharOperation.equals(binding.name, thisJoinPointStaticPartName) || + CharOperation.equals(binding.name, thisAspectInstanceName) || CharOperation.equals(binding.name, thisEnclosingJoinPointStaticPartName)) { // If in advice, this is not a problem if (binding.declaringScope!=null && (binding.declaringScope.referenceContext() instanceof AdviceDeclaration || |