8130826: test writes file in test source directory
Summary: Setting an explicit output directory for ToolBox.JavacTask in PlatformProviderTest.
Reviewed-by: jjg
--- a/langtools/test/tools/javac/platform/PlatformProviderTest.java Fri Jul 24 15:36:45 2015 -0700
+++ b/langtools/test/tools/javac/platform/PlatformProviderTest.java Tue Jul 28 17:01:45 2015 +0200
@@ -88,6 +88,7 @@
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 @@
ToolBox tb = new ToolBox();
ToolBox.Result result =
tb.new JavacTask(ToolBox.Mode.EXEC)
+ .outdir(".")
.options("-J-classpath",
"-J" + System.getProperty("test.classes"),
"-release",