added a flag to indicate whether or not the module is being compiled or not (so we can defer compiler plugins until after the module is built)

This commit is contained in:
James Strachan
2012-03-03 06:34:26 +00:00
parent 4274a4abac
commit ffa2b7b085
3 changed files with 14 additions and 10 deletions
@@ -89,7 +89,7 @@ public class TestlibTest extends CodegenTestCase {
throw new RuntimeException("There were compilation errors");
}
ClassFileFactory classFileFactory = session.generate();
ClassFileFactory classFileFactory = session.generate(false);
final GeneratedClassLoader loader = new GeneratedClassLoader(
classFileFactory,