6749967: regression tests for apt should be same-vm friendly

Tue, 07 Oct 2008 15:39:19 -0700

author
jjg
date
Tue, 07 Oct 2008 15:39:19 -0700
changeset 132
a54ef8459576
parent 129
944790f83b57
child 133
c0372d1097c0

6749967: regression tests for apt should be same-vm friendly
Reviewed-by: darcy

test/tools/apt/mirror/declaration/AnnoMirror.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/AnnoTypeDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/AnnoVal.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/ClassDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/ConstExpr.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/ConstructorDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/EnumDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/FieldDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/GetAnno.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/InterfaceDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/MethodDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/PackageDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/declaration/ParameterDecl.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/AnnoTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/ArrayTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/ClassTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/EnumTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/InterfaceTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/PrimitiveTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/TypeVar.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/type/WildcardTyp.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/util/Overrides.java file | annotate | diff | comparison | revisions
test/tools/apt/mirror/util/TypeCreation.java file | annotate | diff | comparison | revisions
     1.1 --- a/test/tools/apt/mirror/declaration/AnnoMirror.java	Mon Oct 06 16:57:15 2008 -0700
     1.2 +++ b/test/tools/apt/mirror/declaration/AnnoMirror.java	Tue Oct 07 15:39:19 2008 -0700
     1.3 @@ -28,7 +28,7 @@
     1.4   * @summary Tests AnnotationMirror and AnnotationValue methods.
     1.5   * @library ../../lib
     1.6   * @compile -source 1.5 AnnoMirror.java
     1.7 - * @run main AnnoMirror
     1.8 + * @run main/othervm AnnoMirror
     1.9   */
    1.10  
    1.11  
     2.1 --- a/test/tools/apt/mirror/declaration/AnnoTypeDecl.java	Mon Oct 06 16:57:15 2008 -0700
     2.2 +++ b/test/tools/apt/mirror/declaration/AnnoTypeDecl.java	Tue Oct 07 15:39:19 2008 -0700
     2.3 @@ -28,7 +28,7 @@
     2.4   * @summary AnnotationTypeDeclaration tests
     2.5   * @library ../../lib
     2.6   * @compile -source 1.5 AnnoTypeDecl.java
     2.7 - * @run main AnnoTypeDecl
     2.8 + * @run main/othervm AnnoTypeDecl
     2.9   */
    2.10  
    2.11  
     3.1 --- a/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java	Mon Oct 06 16:57:15 2008 -0700
     3.2 +++ b/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java	Tue Oct 07 15:39:19 2008 -0700
     3.3 @@ -28,7 +28,7 @@
     3.4   * @summary AnnotationTypeElementDeclaration tests
     3.5   * @library ../../lib
     3.6   * @compile -source 1.5 AnnoTypeElemDecl.java
     3.7 - * @run main AnnoTypeElemDecl
     3.8 + * @run main/othervm AnnoTypeElemDecl
     3.9   */
    3.10  
    3.11  
     4.1 --- a/test/tools/apt/mirror/declaration/AnnoVal.java	Mon Oct 06 16:57:15 2008 -0700
     4.2 +++ b/test/tools/apt/mirror/declaration/AnnoVal.java	Tue Oct 07 15:39:19 2008 -0700
     4.3 @@ -28,7 +28,7 @@
     4.4   * @summary Tests AnnotationValue methods.
     4.5   * @library ../../lib
     4.6   * @compile -source 1.5 AnnoVal.java
     4.7 - * @run main AnnoVal
     4.8 + * @run main/othervm AnnoVal
     4.9   */
    4.10  
    4.11  
     5.1 --- a/test/tools/apt/mirror/declaration/ClassDecl.java	Mon Oct 06 16:57:15 2008 -0700
     5.2 +++ b/test/tools/apt/mirror/declaration/ClassDecl.java	Tue Oct 07 15:39:19 2008 -0700
     5.3 @@ -28,7 +28,7 @@
     5.4   * @summary ClassDeclaration tests
     5.5   * @library ../../lib
     5.6   * @compile -source 1.5 ClassDecl.java
     5.7 - * @run main ClassDecl
     5.8 + * @run main/othervm ClassDecl
     5.9   */
    5.10  
    5.11  
     6.1 --- a/test/tools/apt/mirror/declaration/ConstExpr.java	Mon Oct 06 16:57:15 2008 -0700
     6.2 +++ b/test/tools/apt/mirror/declaration/ConstExpr.java	Tue Oct 07 15:39:19 2008 -0700
     6.3 @@ -28,7 +28,7 @@
     6.4   * @summary Tests FieldDeclaration.getConstantExpression method
     6.5   * @library ../../lib
     6.6   * @compile -source 1.5 ConstExpr.java
     6.7 - * @run main ConstExpr
     6.8 + * @run main/othervm ConstExpr
     6.9   */
    6.10  
    6.11  
     7.1 --- a/test/tools/apt/mirror/declaration/ConstructorDecl.java	Mon Oct 06 16:57:15 2008 -0700
     7.2 +++ b/test/tools/apt/mirror/declaration/ConstructorDecl.java	Tue Oct 07 15:39:19 2008 -0700
     7.3 @@ -28,7 +28,7 @@
     7.4   * @summary ConstructorDeclaration tests
     7.5   * @library ../../lib
     7.6   * @compile -source 1.5 ConstructorDecl.java
     7.7 - * @run main ConstructorDecl
     7.8 + * @run main/othervm ConstructorDecl
     7.9   */
    7.10  
    7.11  
     8.1 --- a/test/tools/apt/mirror/declaration/EnumDecl.java	Mon Oct 06 16:57:15 2008 -0700
     8.2 +++ b/test/tools/apt/mirror/declaration/EnumDecl.java	Tue Oct 07 15:39:19 2008 -0700
     8.3 @@ -28,7 +28,7 @@
     8.4   * @summary EnumDeclaration tests
     8.5   * @library ../../lib
     8.6   * @compile -source 1.5 EnumDecl.java
     8.7 - * @run main EnumDecl
     8.8 + * @run main/othervm EnumDecl
     8.9   */
    8.10  
    8.11  
     9.1 --- a/test/tools/apt/mirror/declaration/FieldDecl.java	Mon Oct 06 16:57:15 2008 -0700
     9.2 +++ b/test/tools/apt/mirror/declaration/FieldDecl.java	Tue Oct 07 15:39:19 2008 -0700
     9.3 @@ -28,7 +28,7 @@
     9.4   * @summary FieldDeclaration tests
     9.5   * @library ../../lib
     9.6   * @compile -source 1.5 FieldDecl.java
     9.7 - * @run main FieldDecl
     9.8 + * @run main/othervm FieldDecl
     9.9   */
    9.10  
    9.11  
    10.1 --- a/test/tools/apt/mirror/declaration/GetAnno.java	Mon Oct 06 16:57:15 2008 -0700
    10.2 +++ b/test/tools/apt/mirror/declaration/GetAnno.java	Tue Oct 07 15:39:19 2008 -0700
    10.3 @@ -28,7 +28,7 @@
    10.4   * @summary Tests Declaration.getAnnotation method
    10.5   * @library ../../lib
    10.6   * @compile -source 1.5 GetAnno.java
    10.7 - * @run main GetAnno
    10.8 + * @run main/othervm GetAnno
    10.9   */
   10.10  
   10.11  
    11.1 --- a/test/tools/apt/mirror/declaration/InterfaceDecl.java	Mon Oct 06 16:57:15 2008 -0700
    11.2 +++ b/test/tools/apt/mirror/declaration/InterfaceDecl.java	Tue Oct 07 15:39:19 2008 -0700
    11.3 @@ -28,7 +28,7 @@
    11.4   * @summary InterfaceDeclaration tests
    11.5   * @library ../../lib
    11.6   * @compile -source 1.5 InterfaceDecl.java
    11.7 - * @run main InterfaceDecl
    11.8 + * @run main/othervm InterfaceDecl
    11.9   */
   11.10  
   11.11  
    12.1 --- a/test/tools/apt/mirror/declaration/MethodDecl.java	Mon Oct 06 16:57:15 2008 -0700
    12.2 +++ b/test/tools/apt/mirror/declaration/MethodDecl.java	Tue Oct 07 15:39:19 2008 -0700
    12.3 @@ -28,7 +28,7 @@
    12.4   * @summary MethodDeclaration tests
    12.5   * @library ../../lib
    12.6   * @compile -source 1.5 MethodDecl.java
    12.7 - * @run main MethodDecl
    12.8 + * @run main/othervm MethodDecl
    12.9   */
   12.10  
   12.11  
    13.1 --- a/test/tools/apt/mirror/declaration/PackageDecl.java	Mon Oct 06 16:57:15 2008 -0700
    13.2 +++ b/test/tools/apt/mirror/declaration/PackageDecl.java	Tue Oct 07 15:39:19 2008 -0700
    13.3 @@ -28,7 +28,7 @@
    13.4   * @summary PackageDeclaration tests
    13.5   * @library ../../lib
    13.6   * @compile -source 1.5 PackageDecl.java
    13.7 - * @run main PackageDecl
    13.8 + * @run main/othervm PackageDecl
    13.9   */
   13.10  
   13.11  
    14.1 --- a/test/tools/apt/mirror/declaration/ParameterDecl.java	Mon Oct 06 16:57:15 2008 -0700
    14.2 +++ b/test/tools/apt/mirror/declaration/ParameterDecl.java	Tue Oct 07 15:39:19 2008 -0700
    14.3 @@ -27,6 +27,7 @@
    14.4   * @bug 4853450 5031171
    14.5   * @summary ParameterDeclaration tests
    14.6   * @library ../../lib
    14.7 + * @run main/othervm ParameterDecl
    14.8   */
    14.9  
   14.10  
    15.1 --- a/test/tools/apt/mirror/type/AnnoTyp.java	Mon Oct 06 16:57:15 2008 -0700
    15.2 +++ b/test/tools/apt/mirror/type/AnnoTyp.java	Tue Oct 07 15:39:19 2008 -0700
    15.3 @@ -28,7 +28,7 @@
    15.4   * @summary AnnotationType tests
    15.5   * @library ../../lib
    15.6   * @compile -source 1.5 AnnoTyp.java
    15.7 - * @run main AnnoTyp
    15.8 + * @run main/othervm AnnoTyp
    15.9   */
   15.10  
   15.11  
    16.1 --- a/test/tools/apt/mirror/type/ArrayTyp.java	Mon Oct 06 16:57:15 2008 -0700
    16.2 +++ b/test/tools/apt/mirror/type/ArrayTyp.java	Tue Oct 07 15:39:19 2008 -0700
    16.3 @@ -28,7 +28,7 @@
    16.4   * @summary ArrayType tests
    16.5   * @library ../../lib
    16.6   * @compile -source 1.5 ArrayTyp.java
    16.7 - * @run main ArrayTyp
    16.8 + * @run main/othervm ArrayTyp
    16.9   */
   16.10  
   16.11  
    17.1 --- a/test/tools/apt/mirror/type/ClassTyp.java	Mon Oct 06 16:57:15 2008 -0700
    17.2 +++ b/test/tools/apt/mirror/type/ClassTyp.java	Tue Oct 07 15:39:19 2008 -0700
    17.3 @@ -27,6 +27,7 @@
    17.4   * @bug 4853450 5009360 5055963
    17.5   * @summary ClassType tests
    17.6   * @library ../../lib
    17.7 + * @run main/othervm ClassTyp
    17.8   */
    17.9  
   17.10  
    18.1 --- a/test/tools/apt/mirror/type/EnumTyp.java	Mon Oct 06 16:57:15 2008 -0700
    18.2 +++ b/test/tools/apt/mirror/type/EnumTyp.java	Tue Oct 07 15:39:19 2008 -0700
    18.3 @@ -28,7 +28,7 @@
    18.4   * @summary EnumType tests
    18.5   * @library ../../lib
    18.6   * @compile -source 1.5 EnumTyp.java
    18.7 - * @run main EnumTyp
    18.8 + * @run main/othervm EnumTyp
    18.9   */
   18.10  
   18.11  
    19.1 --- a/test/tools/apt/mirror/type/InterfaceTyp.java	Mon Oct 06 16:57:15 2008 -0700
    19.2 +++ b/test/tools/apt/mirror/type/InterfaceTyp.java	Tue Oct 07 15:39:19 2008 -0700
    19.3 @@ -27,6 +27,7 @@
    19.4   * @bug 4853450 5055963
    19.5   * @summary InterfaceType tests
    19.6   * @library ../../lib
    19.7 + * @run main/othervm InterfaceTyp
    19.8   */
    19.9  
   19.10  
    20.1 --- a/test/tools/apt/mirror/type/PrimitiveTyp.java	Mon Oct 06 16:57:15 2008 -0700
    20.2 +++ b/test/tools/apt/mirror/type/PrimitiveTyp.java	Tue Oct 07 15:39:19 2008 -0700
    20.3 @@ -28,7 +28,7 @@
    20.4   * @summary PrimitiveType tests
    20.5   * @library ../../lib
    20.6   * @compile -source 1.5 PrimitiveTyp.java
    20.7 - * @run main PrimitiveTyp
    20.8 + * @run main/othervm PrimitiveTyp
    20.9   */
   20.10  
   20.11  
    21.1 --- a/test/tools/apt/mirror/type/TypeVar.java	Mon Oct 06 16:57:15 2008 -0700
    21.2 +++ b/test/tools/apt/mirror/type/TypeVar.java	Tue Oct 07 15:39:19 2008 -0700
    21.3 @@ -28,7 +28,7 @@
    21.4   * @summary TypeVariable tests
    21.5   * @library ../../lib
    21.6   * @compile -source 1.5 TypeVar.java
    21.7 - * @run main TypeVar
    21.8 + * @run main/othervm TypeVar
    21.9   */
   21.10  
   21.11  
    22.1 --- a/test/tools/apt/mirror/type/WildcardTyp.java	Mon Oct 06 16:57:15 2008 -0700
    22.2 +++ b/test/tools/apt/mirror/type/WildcardTyp.java	Tue Oct 07 15:39:19 2008 -0700
    22.3 @@ -28,7 +28,7 @@
    22.4   * @summary WildcardType tests
    22.5   * @library ../../lib
    22.6   * @compile -source 1.5 WildcardTyp.java
    22.7 - * @run main WildcardTyp
    22.8 + * @run main/othervm WildcardTyp
    22.9   */
   22.10  
   22.11  
    23.1 --- a/test/tools/apt/mirror/util/Overrides.java	Mon Oct 06 16:57:15 2008 -0700
    23.2 +++ b/test/tools/apt/mirror/util/Overrides.java	Tue Oct 07 15:39:19 2008 -0700
    23.3 @@ -27,6 +27,7 @@
    23.4   * @bug 5037165
    23.5   * @summary Test the Declarations.overrides method
    23.6   * @library ../../lib
    23.7 + * @run main/othervm Overrides
    23.8   */
    23.9  
   23.10  
    24.1 --- a/test/tools/apt/mirror/util/TypeCreation.java	Mon Oct 06 16:57:15 2008 -0700
    24.2 +++ b/test/tools/apt/mirror/util/TypeCreation.java	Tue Oct 07 15:39:19 2008 -0700
    24.3 @@ -27,6 +27,7 @@
    24.4   * @bug 5033381
    24.5   * @summary Test the type creation methods in Types.
    24.6   * @library ../../lib
    24.7 + * @run main/othervm TypeCreation
    24.8   */
    24.9  
   24.10  

mercurial