Merge pull request #442 from sharwell/test-build-warnings

Update javac options during testing to address overly verbose warnings
This commit is contained in:
Sam Harwell 2014-01-23 05:26:38 -08:00
commit 959a49b12f
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ public abstract class BaseTest {
fileManager.getJavaFileObjectsFromFiles(files);
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 =
compiler.getTask(null, fileManager, null, compileOptions, null,