8130826: test writes file in test source directory

Setting an explicit output directory for ToolBox.JavacTask in PlatformProviderTest.

Reviewed-by: jjg
This commit is contained in:
Jan Lahoda 2015-07-28 17:01:45 +02:00
parent c84e2e30f2
commit 8d3026508a

View File

@ -88,6 +88,7 @@ public class PlatformProviderTest implements PlatformProvider {
ToolBox tb = new ToolBox();
ToolBox.Result result =
tb.new JavacTask(ToolBox.Mode.EXEC)
.outdir(".")
.options("-J-classpath",
"-J" + System.getProperty("test.classes"),
"-XDrawDiagnostics",
@ -121,6 +122,7 @@ public class PlatformProviderTest implements PlatformProvider {
ToolBox tb = new ToolBox();
ToolBox.Result result =
tb.new JavacTask(ToolBox.Mode.EXEC)
.outdir(".")
.options("-J-classpath",
"-J" + System.getProperty("test.classes"),
"-release",