JDK-2167256 : regression tests for apt should be same-vm friendly
  • Type: Backport
  • Backport of: JDK-6749967
  • Component: tools
  • Sub-Component: apt
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2008-09-18
  • Updated: 2010-04-03
  • Resolved: 2008-10-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 Other
7Fixed OpenJDK6Fixed
Comments
EVALUATION Yes.
13-10-2008

SUGGESTED FIX --- old/test/tools/apt/mirror/declaration/AnnoMirror.java Mon Oct 13 13:53:25 2008 +++ new/test/tools/apt/mirror/declaration/AnnoMirror.java Mon Oct 13 13:53:25 2008 @@ -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 */ --- old/test/tools/apt/mirror/declaration/AnnoTypeDecl.java Mon Oct 13 13:53:26 2008 +++ new/test/tools/apt/mirror/declaration/AnnoTypeDecl.java Mon Oct 13 13:53:26 2008 @@ -28,7 +28,7 @@ * @summary AnnotationTypeDeclaration tests * @library ../../lib * @compile -source 1.5 AnnoTypeDecl.java - * @run main AnnoTypeDecl + * @run main/othervm AnnoTypeDecl */ --- old/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java Mon Oct 13 13:53:26 2008 +++ new/test/tools/apt/mirror/declaration/AnnoTypeElemDecl.java Mon Oct 13 13:53:26 2008 @@ -28,7 +28,7 @@ * @summary AnnotationTypeElementDeclaration tests * @library ../../lib * @compile -source 1.5 AnnoTypeElemDecl.java - * @run main AnnoTypeElemDecl + * @run main/othervm AnnoTypeElemDecl */ --- old/test/tools/apt/mirror/declaration/AnnoVal.java Mon Oct 13 13:53:27 2008 +++ new/test/tools/apt/mirror/declaration/AnnoVal.java Mon Oct 13 13:53:27 2008 @@ -28,7 +28,7 @@ * @summary Tests AnnotationValue methods. * @library ../../lib * @compile -source 1.5 AnnoVal.java - * @run main AnnoVal + * @run main/othervm AnnoVal */ --- old/test/tools/apt/mirror/declaration/ClassDecl.java Mon Oct 13 13:53:28 2008 +++ new/test/tools/apt/mirror/declaration/ClassDecl.java Mon Oct 13 13:53:28 2008 @@ -28,7 +28,7 @@ * @summary ClassDeclaration tests * @library ../../lib * @compile -source 1.5 ClassDecl.java - * @run main ClassDecl + * @run main/othervm ClassDecl */ --- old/test/tools/apt/mirror/declaration/ConstExpr.java Mon Oct 13 13:53:28 2008 +++ new/test/tools/apt/mirror/declaration/ConstExpr.java Mon Oct 13 13:53:28 2008 @@ -28,7 +28,7 @@ * @summary Tests FieldDeclaration.getConstantExpression method * @library ../../lib * @compile -source 1.5 ConstExpr.java - * @run main ConstExpr + * @run main/othervm ConstExpr */ --- old/test/tools/apt/mirror/declaration/ConstructorDecl.java Mon Oct 13 13:53:29 2008 +++ new/test/tools/apt/mirror/declaration/ConstructorDecl.java Mon Oct 13 13:53:29 2008 @@ -28,7 +28,7 @@ * @summary ConstructorDeclaration tests * @library ../../lib * @compile -source 1.5 ConstructorDecl.java - * @run main ConstructorDecl + * @run main/othervm ConstructorDecl */ --- old/test/tools/apt/mirror/declaration/EnumDecl.java Mon Oct 13 13:53:29 2008 +++ new/test/tools/apt/mirror/declaration/EnumDecl.java Mon Oct 13 13:53:29 2008 @@ -28,7 +28,7 @@ * @summary EnumDeclaration tests * @library ../../lib * @compile -source 1.5 EnumDecl.java - * @run main EnumDecl + * @run main/othervm EnumDecl */ --- old/test/tools/apt/mirror/declaration/FieldDecl.java Mon Oct 13 13:53:30 2008 +++ new/test/tools/apt/mirror/declaration/FieldDecl.java Mon Oct 13 13:53:30 2008 @@ -28,7 +28,7 @@ * @summary FieldDeclaration tests * @library ../../lib * @compile -source 1.5 FieldDecl.java - * @run main FieldDecl + * @run main/othervm FieldDecl */ --- old/test/tools/apt/mirror/declaration/GetAnno.java Mon Oct 13 13:53:31 2008 +++ new/test/tools/apt/mirror/declaration/GetAnno.java Mon Oct 13 13:53:31 2008 @@ -28,7 +28,7 @@ * @summary Tests Declaration.getAnnotation method * @library ../../lib * @compile -source 1.5 GetAnno.java - * @run main GetAnno + * @run main/othervm GetAnno */ --- old/test/tools/apt/mirror/declaration/InterfaceDecl.java Mon Oct 13 13:53:31 2008 +++ new/test/tools/apt/mirror/declaration/InterfaceDecl.java Mon Oct 13 13:53:31 2008 @@ -28,7 +28,7 @@ * @summary InterfaceDeclaration tests * @library ../../lib * @compile -source 1.5 InterfaceDecl.java - * @run main InterfaceDecl + * @run main/othervm InterfaceDecl */ --- old/test/tools/apt/mirror/declaration/MethodDecl.java Mon Oct 13 13:53:32 2008 +++ new/test/tools/apt/mirror/declaration/MethodDecl.java Mon Oct 13 13:53:32 2008 @@ -28,7 +28,7 @@ * @summary MethodDeclaration tests * @library ../../lib * @compile -source 1.5 MethodDecl.java - * @run main MethodDecl + * @run main/othervm MethodDecl */ --- old/test/tools/apt/mirror/declaration/PackageDecl.java Mon Oct 13 13:53:32 2008 +++ new/test/tools/apt/mirror/declaration/PackageDecl.java Mon Oct 13 13:53:32 2008 @@ -28,7 +28,7 @@ * @summary PackageDeclaration tests * @library ../../lib * @compile -source 1.5 PackageDecl.java - * @run main PackageDecl + * @run main/othervm PackageDecl */ --- old/test/tools/apt/mirror/declaration/ParameterDecl.java Mon Oct 13 13:53:33 2008 +++ new/test/tools/apt/mirror/declaration/ParameterDecl.java Mon Oct 13 13:53:33 2008 @@ -27,6 +27,7 @@ * @bug 4853450 5031171 * @summary ParameterDeclaration tests * @library ../../lib + * @run main/othervm ParameterDecl */ --- old/test/tools/apt/mirror/type/AnnoTyp.java Mon Oct 13 13:53:34 2008 +++ new/test/tools/apt/mirror/type/AnnoTyp.java Mon Oct 13 13:53:34 2008 @@ -28,7 +28,7 @@ * @summary AnnotationType tests * @library ../../lib * @compile -source 1.5 AnnoTyp.java - * @run main AnnoTyp + * @run main/othervm AnnoTyp */ --- old/test/tools/apt/mirror/type/ArrayTyp.java Mon Oct 13 13:53:34 2008 +++ new/test/tools/apt/mirror/type/ArrayTyp.java Mon Oct 13 13:53:34 2008 @@ -28,7 +28,7 @@ * @summary ArrayType tests * @library ../../lib * @compile -source 1.5 ArrayTyp.java - * @run main ArrayTyp + * @run main/othervm ArrayTyp */ --- old/test/tools/apt/mirror/type/ClassTyp.java Mon Oct 13 13:53:35 2008 +++ new/test/tools/apt/mirror/type/ClassTyp.java Mon Oct 13 13:53:35 2008 @@ -27,6 +27,7 @@ * @bug 4853450 5009360 5055963 * @summary ClassType tests * @library ../../lib + * @run main/othervm ClassTyp */ --- old/test/tools/apt/mirror/type/EnumTyp.java Mon Oct 13 13:53:35 2008 +++ new/test/tools/apt/mirror/type/EnumTyp.java Mon Oct 13 13:53:35 2008 @@ -28,7 +28,7 @@ * @summary EnumType tests * @library ../../lib * @compile -source 1.5 EnumTyp.java - * @run main EnumTyp + * @run main/othervm EnumTyp */ --- old/test/tools/apt/mirror/type/InterfaceTyp.java Mon Oct 13 13:53:36 2008 +++ new/test/tools/apt/mirror/type/InterfaceTyp.java Mon Oct 13 13:53:36 2008 @@ -27,6 +27,7 @@ * @bug 4853450 5055963 * @summary InterfaceType tests * @library ../../lib + * @run main/othervm InterfaceTyp */ --- old/test/tools/apt/mirror/type/PrimitiveTyp.java Mon Oct 13 13:53:37 2008 +++ new/test/tools/apt/mirror/type/PrimitiveTyp.java Mon Oct 13 13:53:37 2008 @@ -28,7 +28,7 @@ * @summary PrimitiveType tests * @library ../../lib * @compile -source 1.5 PrimitiveTyp.java - * @run main PrimitiveTyp + * @run main/othervm PrimitiveTyp */ --- old/test/tools/apt/mirror/type/TypeVar.java Mon Oct 13 13:53:37 2008 +++ new/test/tools/apt/mirror/type/TypeVar.java Mon Oct 13 13:53:37 2008 @@ -28,7 +28,7 @@ * @summary TypeVariable tests * @library ../../lib * @compile -source 1.5 TypeVar.java - * @run main TypeVar + * @run main/othervm TypeVar */ --- old/test/tools/apt/mirror/type/WildcardTyp.java Mon Oct 13 13:53:38 2008 +++ new/test/tools/apt/mirror/type/WildcardTyp.java Mon Oct 13 13:53:38 2008 @@ -28,7 +28,7 @@ * @summary WildcardType tests * @library ../../lib * @compile -source 1.5 WildcardTyp.java - * @run main WildcardTyp + * @run main/othervm WildcardTyp */
13-10-2008