diff options
author | aclement <aclement> | 2006-10-16 14:24:56 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-10-16 14:24:56 +0000 |
commit | f503685292371f5f0048ad239b92c680cb96c2b0 (patch) | |
tree | 5fbf364d1e6f25bc0d3652f8d1a67fa9e1016dab | |
parent | 3ff7b362b50714806abc449bac38545361313237 (diff) | |
download | aspectj-f503685292371f5f0048ad239b92c680cb96c2b0.tar.gz aspectj-f503685292371f5f0048ad239b92c680cb96c2b0.zip |
pr133532 fix: always uses a StatefulNameEnvironment (since needs to check the state object)
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 6 |
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 = |