summaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core/testsrc
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-02-24 15:00:18 +0000
committeracolyer <acolyer>2006-02-24 15:00:18 +0000
commit66165173b34678ee428d4f4d791168f8cb5f231c (patch)
tree7db2761f727d0ee5dbedac9f9dcdf2be132fd6a8 /org.aspectj.ajdt.core/testsrc
parentc6677a313dded568cc368960c836a118a6276f6b (diff)
downloadaspectj-66165173b34678ee428d4f4d791168f8cb5f231c.tar.gz
aspectj-66165173b34678ee428d4f4d791168f8cb5f231c.zip
Completed: Improve ajc memory usage
Determine how much state to hold in AjState based on whether the environment we're running in supports incremental compilation
Diffstat (limited to 'org.aspectj.ajdt.core/testsrc')
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java
index 7df629835..67980c672 100644
--- a/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java
+++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/ajdt/internal/core/builder/AjStateTest.java
@@ -24,6 +24,7 @@ public class AjStateTest extends TestCase {
private AjBuildConfig newConfig;
public void testNoChange() {
+ aRightState.setCouldBeSubsequentIncrementalBuild(true);
assertTrue("Can do incremental",aRightState.prepareForNextBuild(newConfig));
}