8055076: fix test failures in classfile tests
authorjjg
Wed, 13 Aug 2014 15:47:58 -0700
changeset 26103 3f96599b20da
parent 26102 0768f194cad1
child 26104 34de7e01b3c1
8055076: fix test failures in classfile tests Reviewed-by: darcy
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerAnnotationTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerClassTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerEnumTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerInterfaceTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesHierarchyTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInAnonymousClassTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerAnnotationTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerClassTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerEnumTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerInterfaceTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInLocalClassTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesIndexTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerAnnotationTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerEnumTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerInterfaceTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumsInInnerClassTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerAnnotationTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerClassTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerEnumTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerInterfaceTest.java
langtools/test/tools/javac/classfiles/attributes/innerclasses/NoInnerClassesTest.java
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerAnnotationTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerAnnotationTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner annotations in inner annotation.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerAnnotationsInInnerAnnotationTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerClassTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerClassTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner annotations in inner class.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerAnnotationsInInnerClassTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerEnumTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerEnumTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner annotations in inner enum.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerAnnotationsInInnerEnumTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerInterfaceTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerAnnotationsInInnerInterfaceTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner annotations in inner interface.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerAnnotationsInInnerInterfaceTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesHierarchyTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesHierarchyTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Test that inner classes have in its inner classes attribute enclosing classes and its immediate members.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesHierarchyTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInAnonymousClassTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInAnonymousClassTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner classes in anonymous class.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesTestBase TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesInAnonymousClassTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerAnnotationTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerAnnotationTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner classes in inner annotation.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesInInnerAnnotationTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerClassTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerClassTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8034854 8042251
  * @summary Testing InnerClasses_attribute of inner classes in inner class.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesInInnerClassTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerEnumTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerEnumTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8034854 8042251
  * @summary Testing InnerClasses_attribute of inner classes in inner enum.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesInInnerEnumTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerInterfaceTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInInnerInterfaceTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner classes in inner interface.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesInInnerInterfaceTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInLocalClassTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesInLocalClassTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner classes in local class.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesTestBase TestResult TestBase InMemoryFileManager ToolBox
  * @run main InnerClassesInLocalClassTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesIndexTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesIndexTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Test that outer_class_info_index of local and anonymous class is zero.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerClassesIndexTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerClassesTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -26,7 +26,7 @@
  * @test
  * @bug 8034854 8042251
  * @summary Testing inner classes attributes.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerClassesTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerAnnotationTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerAnnotationTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -26,7 +26,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner enums in inner annotation.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerEnumInInnerAnnotationTest
  */
@@ -46,4 +46,4 @@
         setOuterClassType(ClassType.ANNOTATION);
         setInnerClassType(ClassType.ENUM);
     }
-}
\ No newline at end of file
+}
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerEnumTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerEnumTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner enums in inner enum.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerEnumInInnerEnumTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerInterfaceTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumInInnerInterfaceTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner enums in inner interface.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerEnumInInnerInterfaceTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumsInInnerClassTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerEnumsInInnerClassTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner enums in inner class.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerEnumsInInnerClassTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerAnnotationTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerAnnotationTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner interfaces in inner annotation.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerInterfacesInInnerAnnotationTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerClassTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerClassTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @summary Testing InnerClasses_attribute of inner interfaces in inner class.
  * @author aeremeev
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerInterfacesInInnerClassTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerEnumTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerEnumTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner interfaces in inner enum.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerInterfacesInInnerEnumTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerInterfaceTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/InnerInterfacesInInnerInterfaceTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Testing InnerClasses_attribute of inner interfaces in inner interface.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build InnerClassesInInnerClassTestBase InnerClassesTestBase TestBase TestResult InMemoryFileManager ToolBox
  * @run main InnerInterfacesInInnerInterfaceTest
  */
--- a/langtools/test/tools/javac/classfiles/attributes/innerclasses/NoInnerClassesTest.java	Wed Aug 13 21:58:29 2014 +0000
+++ b/langtools/test/tools/javac/classfiles/attributes/innerclasses/NoInnerClassesTest.java	Wed Aug 13 15:47:58 2014 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 8042251
  * @summary Test that there are no inner classes attributes in case of there are no inner classes.
- * @library /tools/javac/lib ../lib
+ * @library /tools/lib /tools/javac/lib ../lib
  * @build TestBase InMemoryFileManager ToolBox
  * @run main NoInnerClassesTest
  */