6749967: regression tests for apt should be same-vm friendly
authorjjg
Tue, 07 Oct 2008 15:39:19 -0700
changeset 1467 290837884931
parent 1365 ced0e3c4678f
child 1468 19d266637353
6749967: regression tests for apt should be same-vm friendly Reviewed-by: darcy
langtools/test/tools/apt/mirror/declaration/AnnoMirror.java
langtools/test/tools/apt/mirror/declaration/AnnoTypeDecl.java
langtools/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java
langtools/test/tools/apt/mirror/declaration/AnnoVal.java
langtools/test/tools/apt/mirror/declaration/ClassDecl.java
langtools/test/tools/apt/mirror/declaration/ConstExpr.java
langtools/test/tools/apt/mirror/declaration/ConstructorDecl.java
langtools/test/tools/apt/mirror/declaration/EnumDecl.java
langtools/test/tools/apt/mirror/declaration/FieldDecl.java
langtools/test/tools/apt/mirror/declaration/GetAnno.java
langtools/test/tools/apt/mirror/declaration/InterfaceDecl.java
langtools/test/tools/apt/mirror/declaration/MethodDecl.java
langtools/test/tools/apt/mirror/declaration/PackageDecl.java
langtools/test/tools/apt/mirror/declaration/ParameterDecl.java
langtools/test/tools/apt/mirror/type/AnnoTyp.java
langtools/test/tools/apt/mirror/type/ArrayTyp.java
langtools/test/tools/apt/mirror/type/ClassTyp.java
langtools/test/tools/apt/mirror/type/EnumTyp.java
langtools/test/tools/apt/mirror/type/InterfaceTyp.java
langtools/test/tools/apt/mirror/type/PrimitiveTyp.java
langtools/test/tools/apt/mirror/type/TypeVar.java
langtools/test/tools/apt/mirror/type/WildcardTyp.java
langtools/test/tools/apt/mirror/util/Overrides.java
langtools/test/tools/apt/mirror/util/TypeCreation.java
--- a/langtools/test/tools/apt/mirror/declaration/AnnoMirror.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/AnnoMirror.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary Tests AnnotationMirror and AnnotationValue methods.
  * @library ../../lib
  * @compile -source 1.5 AnnoMirror.java
- * @run main AnnoMirror
+ * @run main/othervm AnnoMirror
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/AnnoTypeDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/AnnoTypeDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary AnnotationTypeDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 AnnoTypeDecl.java
- * @run main AnnoTypeDecl
+ * @run main/othervm AnnoTypeDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary AnnotationTypeElementDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 AnnoTypeElemDecl.java
- * @run main AnnoTypeElemDecl
+ * @run main/othervm AnnoTypeElemDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/AnnoVal.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/AnnoVal.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary Tests AnnotationValue methods.
  * @library ../../lib
  * @compile -source 1.5 AnnoVal.java
- * @run main AnnoVal
+ * @run main/othervm AnnoVal
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/ClassDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/ClassDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary ClassDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 ClassDecl.java
- * @run main ClassDecl
+ * @run main/othervm ClassDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/ConstExpr.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/ConstExpr.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary Tests FieldDeclaration.getConstantExpression method
  * @library ../../lib
  * @compile -source 1.5 ConstExpr.java
- * @run main ConstExpr
+ * @run main/othervm ConstExpr
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/ConstructorDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/ConstructorDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary ConstructorDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 ConstructorDecl.java
- * @run main ConstructorDecl
+ * @run main/othervm ConstructorDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/EnumDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/EnumDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary EnumDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 EnumDecl.java
- * @run main EnumDecl
+ * @run main/othervm EnumDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/FieldDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/FieldDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary FieldDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 FieldDecl.java
- * @run main FieldDecl
+ * @run main/othervm FieldDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/GetAnno.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/GetAnno.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary Tests Declaration.getAnnotation method
  * @library ../../lib
  * @compile -source 1.5 GetAnno.java
- * @run main GetAnno
+ * @run main/othervm GetAnno
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/InterfaceDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/InterfaceDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary InterfaceDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 InterfaceDecl.java
- * @run main InterfaceDecl
+ * @run main/othervm InterfaceDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/MethodDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/MethodDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary MethodDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 MethodDecl.java
- * @run main MethodDecl
+ * @run main/othervm MethodDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/PackageDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/PackageDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary PackageDeclaration tests
  * @library ../../lib
  * @compile -source 1.5 PackageDecl.java
- * @run main PackageDecl
+ * @run main/othervm PackageDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/declaration/ParameterDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/declaration/ParameterDecl.java	Tue Oct 07 15:39:19 2008 -0700
@@ -27,6 +27,7 @@
  * @bug 4853450 5031171
  * @summary ParameterDeclaration tests
  * @library ../../lib
+ * @run main/othervm ParameterDecl
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/AnnoTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/AnnoTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary AnnotationType tests
  * @library ../../lib
  * @compile -source 1.5 AnnoTyp.java
- * @run main AnnoTyp
+ * @run main/othervm AnnoTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/ArrayTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/ArrayTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary ArrayType tests
  * @library ../../lib
  * @compile -source 1.5 ArrayTyp.java
- * @run main ArrayTyp
+ * @run main/othervm ArrayTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/ClassTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/ClassTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -27,6 +27,7 @@
  * @bug 4853450 5009360 5055963
  * @summary ClassType tests
  * @library ../../lib
+ * @run main/othervm ClassTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/EnumTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/EnumTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary EnumType tests
  * @library ../../lib
  * @compile -source 1.5 EnumTyp.java
- * @run main EnumTyp
+ * @run main/othervm EnumTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/InterfaceTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/InterfaceTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -27,6 +27,7 @@
  * @bug 4853450 5055963
  * @summary InterfaceType tests
  * @library ../../lib
+ * @run main/othervm InterfaceTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/PrimitiveTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/PrimitiveTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary PrimitiveType tests
  * @library ../../lib
  * @compile -source 1.5 PrimitiveTyp.java
- * @run main PrimitiveTyp
+ * @run main/othervm PrimitiveTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/TypeVar.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/TypeVar.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary TypeVariable tests
  * @library ../../lib
  * @compile -source 1.5 TypeVar.java
- * @run main TypeVar
+ * @run main/othervm TypeVar
  */
 
 
--- a/langtools/test/tools/apt/mirror/type/WildcardTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/type/WildcardTyp.java	Tue Oct 07 15:39:19 2008 -0700
@@ -28,7 +28,7 @@
  * @summary WildcardType tests
  * @library ../../lib
  * @compile -source 1.5 WildcardTyp.java
- * @run main WildcardTyp
+ * @run main/othervm WildcardTyp
  */
 
 
--- a/langtools/test/tools/apt/mirror/util/Overrides.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/util/Overrides.java	Tue Oct 07 15:39:19 2008 -0700
@@ -27,6 +27,7 @@
  * @bug 5037165
  * @summary Test the Declarations.overrides method
  * @library ../../lib
+ * @run main/othervm Overrides
  */
 
 
--- a/langtools/test/tools/apt/mirror/util/TypeCreation.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/langtools/test/tools/apt/mirror/util/TypeCreation.java	Tue Oct 07 15:39:19 2008 -0700
@@ -27,6 +27,7 @@
  * @bug 5033381
  * @summary Test the type creation methods in Types.
  * @library ../../lib
+ * @run main/othervm TypeCreation
  */