7127924: langtools regression tests sometimes fail en-masse on windows
Reviewed-by: jjg
--- a/langtools/test/tools/javac/diags/CheckExamples.java Thu Jan 12 15:28:34 2012 +0000
+++ b/langtools/test/tools/javac/diags/CheckExamples.java Tue Jan 17 17:14:44 2012 -0800
@@ -23,10 +23,13 @@
/*
* @test
- * @bug 6968063
+ * @bug 6968063, 7127924
* @summary provide examples of code that generate diagnostics
* @build Example CheckExamples
- * @run main CheckExamples
+ * @run main/othervm CheckExamples
+ */
+/*
+ * See CR 7127924 for info on why othervm is used.
*/
import java.io.*;
--- a/langtools/test/tools/javac/diags/MessageInfo.java Thu Jan 12 15:28:34 2012 +0000
+++ b/langtools/test/tools/javac/diags/MessageInfo.java Tue Jan 17 17:14:44 2012 -0800
@@ -23,10 +23,13 @@
/**
* @test
- * @bug 7013272
+ * @bug 7013272, 7127924
* @summary Automatically generate info about how compiler resource keys are used
* @build Example ArgTypeCompilerFactory MessageFile MessageInfo
- * @run main MessageInfo
+ * @run main/othervm MessageInfo
+ */
+/*
+ * See CR 7127924 for info on why othervm is used.
*/
import java.io.*;
--- a/langtools/test/tools/javac/diags/RunExamples.java Thu Jan 12 15:28:34 2012 +0000
+++ b/langtools/test/tools/javac/diags/RunExamples.java Tue Jan 17 17:14:44 2012 -0800
@@ -23,10 +23,13 @@
/**
* @test
- * @bug 6968063
+ * @bug 6968063, 7127924
* @summary provide examples of code that generate diagnostics
* @build ArgTypeCompilerFactory Example HTMLWriter RunExamples
- * @run main RunExamples
+ * @run main/othervm RunExamples
+ */
+/*
+ * See CR 7127924 for info on why othervm is used.
*/
import java.io.*;