]> source.dussan.org Git - aspectj.git/commitdiff
pr133532 fix: always uses a StatefulNameEnvironment (since needs to check the state...
authoraclement <aclement>
Mon, 16 Oct 2006 14:24:56 +0000 (14:24 +0000)
committeraclement <aclement>
Mon, 16 Oct 2006 14:24:56 +0000 (14:24 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java

index 92a73974b17aacb432f083022587b9317a461687..c8e670028553031a8907cfffe859aeaad5f8c558 100644 (file)
@@ -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 =