Update javac options during testing to address overly verbose warnings
This commit is contained in:
parent
ac87089528
commit
e63f95268f
|
@ -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