changeset 1178:1e2f4f4fb9f7

7127924: langtools regression tests sometimes fail en-masse on windows Reviewed-by: jjg
author jjh
date Tue, 17 Jan 2012 17:14:44 -0800
parents 133744729455
children f00afa80f1f0
files test/tools/javac/diags/CheckExamples.java test/tools/javac/diags/MessageInfo.java test/tools/javac/diags/RunExamples.java
diffstat 3 files changed, 15 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/diags/CheckExamples.java	Thu Jan 12 15:28:34 2012 +0000
+++ b/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/test/tools/javac/diags/MessageInfo.java	Thu Jan 12 15:28:34 2012 +0000
+++ b/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/test/tools/javac/diags/RunExamples.java	Thu Jan 12 15:28:34 2012 +0000
+++ b/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.*;