forked from jasder/antlr
Merge pull request #442 from sharwell/test-build-warnings
Update javac options during testing to address overly verbose warnings
This commit is contained in:
commit
959a49b12f
|
@ -356,7 +356,7 @@ public abstract class BaseTest {
|
||||||
fileManager.getJavaFileObjectsFromFiles(files);
|
fileManager.getJavaFileObjectsFromFiles(files);
|
||||||
|
|
||||||
Iterable<String> compileOptions =
|
Iterable<String> compileOptions =
|
||||||
Arrays.asList("-g", "-d", tmpdir, "-cp", tmpdir+pathSep+CLASSPATH);
|
Arrays.asList("-g", "-source", "1.6", "-target", "1.6", "-implicit:class", "-Xlint:-options", "-d", tmpdir, "-cp", tmpdir+pathSep+CLASSPATH);
|
||||||
|
|
||||||
JavaCompiler.CompilationTask task =
|
JavaCompiler.CompilationTask task =
|
||||||
compiler.getTask(null, fileManager, null, compileOptions, null,
|
compiler.getTask(null, fileManager, null, compileOptions, null,
|
||||||
|
|
Loading…
Reference in New Issue