changeset 133:a54ef8459576

6749967: regression tests for apt should be same-vm friendly Reviewed-by: darcy
author jjg
date Tue, 07 Oct 2008 15:39:19 -0700
parents 944790f83b57
children c0372d1097c0
files test/tools/apt/mirror/declaration/AnnoMirror.java test/tools/apt/mirror/declaration/AnnoTypeDecl.java test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java test/tools/apt/mirror/declaration/AnnoVal.java test/tools/apt/mirror/declaration/ClassDecl.java test/tools/apt/mirror/declaration/ConstExpr.java test/tools/apt/mirror/declaration/ConstructorDecl.java test/tools/apt/mirror/declaration/EnumDecl.java test/tools/apt/mirror/declaration/FieldDecl.java test/tools/apt/mirror/declaration/GetAnno.java test/tools/apt/mirror/declaration/InterfaceDecl.java test/tools/apt/mirror/declaration/MethodDecl.java test/tools/apt/mirror/declaration/PackageDecl.java test/tools/apt/mirror/declaration/ParameterDecl.java test/tools/apt/mirror/type/AnnoTyp.java test/tools/apt/mirror/type/ArrayTyp.java test/tools/apt/mirror/type/ClassTyp.java test/tools/apt/mirror/type/EnumTyp.java test/tools/apt/mirror/type/InterfaceTyp.java test/tools/apt/mirror/type/PrimitiveTyp.java test/tools/apt/mirror/type/TypeVar.java test/tools/apt/mirror/type/WildcardTyp.java test/tools/apt/mirror/util/Overrides.java test/tools/apt/mirror/util/TypeCreation.java
diffstat 24 files changed, 24 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/apt/mirror/declaration/AnnoMirror.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/AnnoTypeDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/AnnoVal.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/ClassDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/ConstExpr.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/ConstructorDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/EnumDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/FieldDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/GetAnno.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/InterfaceDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/MethodDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/PackageDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/declaration/ParameterDecl.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/AnnoTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/ArrayTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/ClassTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/EnumTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/InterfaceTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/PrimitiveTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/TypeVar.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/type/WildcardTyp.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/util/Overrides.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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/test/tools/apt/mirror/util/TypeCreation.java	Mon Oct 06 16:57:15 2008 -0700
+++ b/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
  */