From 0a8dbdeed13fe79ddfd7a291e2b45b50b9a90579 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Tue, 22 Apr 2003 17:55:13 +0000 Subject: test and fix for Bugzilla Bug 36564 Internal compiler error --- .../aspectj/ajdt/internal/compiler/ast/ThisJoinPointVisitor.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'org.aspectj.ajdt.core') 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) { -- cgit v1.2.3