Skip to content

Commit 3bca852

Browse files
committed
Adjust to latest changes in JDT Core
Signed-off-by: Alexander Kriegisch <[email protected]>
1 parent 72171c3 commit 3bca852

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,27 +128,27 @@ public void completeTypeBindings() {
128128
ContextToken completeTypeBindingsToken = enteringPhase(COMPLETING_TYPE_BINDINGS, "");
129129
// builtInterTypesAndPerClauses = false;
130130
// pendingTypesToWeave = new ArrayList();
131-
stepCompleted = BUILD_TYPE_HIERARCHY;
131+
stepCompleted = CompleteTypeBindingsSteps.CONNECT_TYPE_HIERARCHY;
132132

133133
for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) {
134134
ContextToken tok = enteringPhase(CHECK_AND_SET_IMPORTS, units[i].compilationResult.fileName);
135135
units[i].scope.checkAndSetImports();
136136
leavingPhase(tok);
137137
}
138-
stepCompleted = CHECK_AND_SET_IMPORTS;
138+
stepCompleted = CompleteTypeBindingsSteps.CHECK_AND_SET_IMPORTS;
139139

140140
for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) {
141141
ContextToken tok = enteringPhase(CONNECTING_TYPE_HIERARCHY1, units[i].compilationResult.fileName);
142-
units[i].scope.connectTypeHierarchy1();
142+
units[i].scope.connectTypeHierarchy();
143143
leavingPhase(tok);
144144
}
145-
stepCompleted = CONNECT_TYPE_HIERARCHY1;
145+
stepCompleted = CompleteTypeBindingsSteps.CONNECT_TYPE_HIERARCHY;
146146
for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) {
147147
ContextToken tok = enteringPhase(CONNECTING_TYPE_HIERARCHY2, units[i].compilationResult.fileName);
148-
units[i].scope.connectTypeHierarchy2();
148+
units[i].scope.integrateAnnotationsInHierarchy();
149149
leavingPhase(tok);
150150
}
151-
stepCompleted = CONNECT_TYPE_HIERARCHY2;
151+
stepCompleted = CompleteTypeBindingsSteps.INTEGRATE_ANNOTATIONS_IN_HIERARCHY;
152152
for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) {
153153
ContextToken tok = enteringPhase(BUILDING_FIELDS_AND_METHODS, units[i].compilationResult.fileName);
154154
// units[i].scope.checkParameterizedTypes(); do this check a little later, after ITDs applied to stbs
@@ -283,7 +283,7 @@ public void completeTypeBindings() {
283283
units[i] = null; // release unnecessary reference to the parsed unit
284284
}
285285

286-
stepCompleted = BUILD_FIELDS_AND_METHODS;
286+
stepCompleted = CompleteTypeBindingsSteps.BUILD_FIELDS_AND_METHODS;
287287
lastCompletedUnitIndex = lastUnitIndex;
288288
AsmManager.setCompletingTypeBindings(false);
289289
factory.getWorld().getCrosscuttingMembersSet().verify();

org.aspectj.ajdt.core/src/main/resources/org/aspectj/org/eclipse/jdt/internal/compiler/batch/messages_aspectj.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
compiler.name = AspectJ Compiler
2-
compiler.version = Eclipse Compiler d23a141971a37b (27Apr2023) - Java20
2+
compiler.version = Eclipse Compiler 3e6295cd3e87e5 (29Oct2023) - Java21
33
compiler.copyright =
44

55
misc.version = {0} {1} - {2} {3}

0 commit comments

Comments
 (0)