summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java6
1 files changed, 3 insertions, 3 deletions
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 =