From f503685292371f5f0048ad239b92c680cb96c2b0 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 16 Oct 2006 14:24:56 +0000 Subject: pr133532 fix: always uses a StatefulNameEnvironment (since needs to check the state object) --- .../src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'org.aspectj.ajdt.core/src') diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index 92a73974b..c8e670028 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -886,9 +886,9 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc //System.out.println("compiling"); environment = getLibraryAccess(classpaths, filenames); - if (!state.getClassNameToFileMap().isEmpty()) { - environment = new StatefulNameEnvironment(environment, state.getClassNameToFileMap()); - } + //if (!state.getClassNameToFileMap().isEmpty()) { // see pr133532 (disabled to state can be used to answer questions) + environment = new StatefulNameEnvironment(environment, state.getClassNameToFileMap(),state); + //} org.aspectj.ajdt.internal.compiler.CompilerAdapter.setCompilerAdapterFactory(this); org.aspectj.org.eclipse.jdt.internal.compiler.Compiler compiler = -- cgit v1.2.3