aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-17 03:55:08 +0000
committerjhugunin <jhugunin>2002-12-17 03:55:08 +0000
commit4a0295c0c33776dc16f582c33ba13a937ae7b75b (patch)
treef48c36a55082a8623505afd6694a85b81bb416eb /org.aspectj.ajdt.core
parent3f35d3b52091aaf3392c64a7e5f58f8625edad75 (diff)
downloadaspectj-4a0295c0c33776dc16f582c33ba13a937ae7b75b.tar.gz
aspectj-4a0295c0c33776dc16f582c33ba13a937ae7b75b.zip
more bug fixes
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java2
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/WorkingTestMain.java12
2 files changed, 8 insertions, 6 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
index 66e004d00..26bf18d8b 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
@@ -59,7 +59,7 @@ public class AspectDeclaration extends MemberTypeDeclaration {
}
public void resolve() {
- if (binding == null || ignoreFurtherInvestigation) {
+ if (binding == null) {
ignoreFurtherInvestigation = true;
return;
}
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/WorkingTestMain.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/WorkingTestMain.java
index 6b0cc3785..b70be133f 100644
--- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/WorkingTestMain.java
+++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/compiler/batch/WorkingTestMain.java
@@ -35,6 +35,7 @@ public class WorkingTestMain {
List args = new ArrayList();
args.add("-verbose");
+ //args.add("-1.3");
args.add("-d");
args.add("out");
@@ -48,8 +49,8 @@ public class WorkingTestMain {
//args.add("-aspectpath");
//args.add("../weaver/testdata/megatrace.jar");
- //args.add("testdata/src1/AroundA1.java");
- args.add("../tests/new/StrictFPAdvice.java");
+ args.add("testdata/src1/AroundA1.java");
+ //args.add("../tests/new/AroundInnerCalls.java");
//args.add("-Xlint:error");
//args.add("testdata/src1/InterType.java");
//args.add("@" + examplesDir + "tjp/files.lst");
@@ -58,11 +59,12 @@ public class WorkingTestMain {
CommandTestCase.runCompiler(args, CommandTestCase.NO_ERRORS);
//CommandTestCase.runCompiler(args, new int[] {11, 14, 18, 32, 43});
- CommandTestCase.printGenerated("../out", "StrictFPAdvice");
- CommandTestCase.printGenerated("../out", "A");
+// CommandTestCase.printGenerated("../out", "AdviceOnInheritedMethod");
+// CommandTestCase.printGenerated("../out", "SuperC");
+// CommandTestCase.printGenerated("../out", "SubC");
//TestUtil.runMain("out;../bcweaver/testdata/megatrace.jar", "Privileged");
- TestUtil.runMain("out;../lib/test/testing-client.jar", "StrictFPAdvice");
+ //TestUtil.runMain("out;../lib/test/testing-client.jar", "AroundInnerCalls");
}
private static String examplesDir = "c:/aspectj/examples/";