ソースを参照

test and fix for 123612 - remember to clear the caches for declared annotations between compiles.

tags/POST_MEMORY_CHANGES
aclement 18年前
コミット
ab2f89bd73

+ 8
- 0
tests/multiIncremental/PR123612/base/A.aj ファイルの表示

@@ -0,0 +1,8 @@
public aspect A {
declare @type : C : @MyAnnotation;
}
@interface MyAnnotation {
}

class C {
}

+ 8
- 0
tests/multiIncremental/PR123612/inc1/A.aj ファイルの表示

@@ -0,0 +1,8 @@
public aspect A {
// declare @type : C : @MyAnnotation;
}
@interface MyAnnotation {
}

class C {
}

+ 8
- 1
tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java ファイルの表示

@@ -466,7 +466,14 @@ public class MultiProjectIncrementalTests extends AjdeInteractionTestbed {
alter("PR113257","inc1");
build("PR113257");
}

public void testPr123612() {
initialiseProject("PR123612");
build("PR123612");
alter("PR123612","inc1");
build("PR123612");
checkWasntFullBuild();
}
// other possible tests:
// - memory usage (freemem calls?)

+ 3
- 0
weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java ファイルの表示

@@ -127,6 +127,9 @@ public class CrosscuttingMembersSet {
lateTypeMungers = null;
declareSofts = null;
declareParents = null;
declareAnnotationOnFields=null;
declareAnnotationOnMethods=null;
declareAnnotationOnTypes=null;
declareDominates = null;
}

読み込み中…
キャンセル
保存