diff options
author | jhugunin <jhugunin> | 2003-04-22 17:55:13 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-04-22 17:55:13 +0000 |
commit | 0a8dbdeed13fe79ddfd7a291e2b45b50b9a90579 (patch) | |
tree | 296eb9f5aad3f8f3e3b3507d637529e928b2e0dd /org.aspectj.ajdt.core | |
parent | fefd4559fb4a9eefcf4528526ad2448b9a6e3489 (diff) | |
download | aspectj-0a8dbdeed13fe79ddfd7a291e2b45b50b9a90579.tar.gz aspectj-0a8dbdeed13fe79ddfd7a291e2b45b50b9a90579.zip |
test and fix for Bugzilla Bug 36564
Internal compiler error
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ThisJoinPointVisitor.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ThisJoinPointVisitor.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ThisJoinPointVisitor.java index f1602b41d..2ec487518 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ThisJoinPointVisitor.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/ThisJoinPointVisitor.java @@ -106,8 +106,10 @@ public class ThisJoinPointVisitor extends AbstractSyntaxTreeVisitorAdapter { || id.equals("toLongString") || id.equals("getKind") || id.equals("getSignature") - || id.equals("getSourceLocation") - || id.equals("getStaticPart"); + || id.equals("getSourceLocation"); + //TODO: This is a good optimization, but requires more work than the above + // we have to replace a call with a direct reference, not just a different call + //|| id.equals("getStaticPart"); } // boolean canTreatAsStatic(VarExpr varExpr) { |