From ff92343e7ab763941180a66df5b956cb971098ff Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Tue, 26 Sep 2023 13:45:32 +0700 Subject: [PATCH] Bump JDT Core to 1.9.21-SNAPSHOT Signed-off-by: Alexander Kriegisch --- .../compiler/lookup/AjLookupEnvironment.java | 12 +++++++++--- pom.xml | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java index e0123ee4a..a97f3fa8a 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java @@ -148,11 +148,17 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.CONNECTING_TYPE_HIERARCHY, units[i].compilationResult.fileName); - units[i].scope.connectTypeHierarchy(); + units[i].scope.connectTypeHierarchy1(); CompilationAndWeavingContext.leavingPhase(tok); } - stepCompleted = CONNECT_TYPE_HIERARCHY; - + stepCompleted = CONNECT_TYPE_HIERARCHY1; + for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) { + ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.CONNECTING_TYPE_HIERARCHY, + units[i].compilationResult.fileName); + units[i].scope.connectTypeHierarchy2(); + CompilationAndWeavingContext.leavingPhase(tok); + } + stepCompleted = CONNECT_TYPE_HIERARCHY2; for (int i = lastCompletedUnitIndex + 1; i <= lastUnitIndex; i++) { ContextToken tok = CompilationAndWeavingContext.enteringPhase(CompilationAndWeavingContext.BUILDING_FIELDS_AND_METHODS, units[i].compilationResult.fileName); diff --git a/pom.xml b/pom.xml index 8a9557dad..3ca99b8a6 100644 --- a/pom.xml +++ b/pom.xml @@ -21,7 +21,7 @@ true - 1.9.20 + 1.9.21-SNAPSHOT 9.5 1.6.3 2.6.2 -- 2.39.5