Disable annotation processors during testing for performance
This commit is contained in:
parent
8dce2d5fb5
commit
c70c1baccf
|
@ -459,7 +459,7 @@ public abstract class BaseTest {
|
|||
fileManager.getJavaFileObjectsFromFiles(files);
|
||||
|
||||
Iterable<String> compileOptions =
|
||||
Arrays.asList("-g", "-source", "1.6", "-target", "1.6", "-implicit:class", "-Xlint:-options", "-d", tmpdir, "-cp", tmpdir+pathSep+CLASSPATH);
|
||||
Arrays.asList("-g", "-source", "1.6", "-target", "1.6", "-implicit:class", "-Xlint:-options", "-proc:none", "-d", tmpdir, "-cp", tmpdir+pathSep+CLASSPATH);
|
||||
|
||||
JavaCompiler.CompilationTask task =
|
||||
compiler.getTask(null, fileManager, null, compileOptions, null,
|
||||
|
|
Loading…
Reference in New Issue