# HG changeset patch # User jjg # Date 1223419159 25200 # Node ID 290837884931bbfa0383a4baa2e9153f1172c1cd # Parent ced0e3c4678fd35c8d59446f568db9fec8e98c4c 6749967: regression tests for apt should be same-vm friendly Reviewed-by: darcy diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/AnnoMirror.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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/AnnoTypeDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/AnnoVal.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/ClassDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/ConstExpr.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/ConstructorDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/EnumDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/FieldDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/GetAnno.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/InterfaceDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/MethodDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/PackageDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/declaration/ParameterDecl.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/AnnoTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/ArrayTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/ClassTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/EnumTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/InterfaceTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/PrimitiveTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/TypeVar.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/type/WildcardTyp.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/util/Overrides.java --- 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 */ diff -r ced0e3c4678f -r 290837884931 langtools/test/tools/apt/mirror/util/TypeCreation.java --- 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 */