8005282: Use @library tag with non-relative path for javac tests

Fri, 21 Dec 2012 08:45:43 -0800

author
darcy
date
Fri, 21 Dec 2012 08:45:43 -0800
changeset 1466
b52a38d4536c
parent 1465
a22f23fb7abf
child 1467
189b26e3818f

8005282: Use @library tag with non-relative path for javac tests
Reviewed-by: jjg

test/tools/javac/7129225/TestImportStar.java file | annotate | diff | comparison | revisions
test/tools/javac/cast/intersection/model/Model01.java file | annotate | diff | comparison | revisions
test/tools/javac/classreader/T7031108.java file | annotate | diff | comparison | revisions
test/tools/javac/enum/6350057/T6350057.java file | annotate | diff | comparison | revisions
test/tools/javac/enum/6424358/T6424358.java file | annotate | diff | comparison | revisions
test/tools/javac/file/T7018098.java file | annotate | diff | comparison | revisions
test/tools/javac/multicatch/model/ModelChecker.java file | annotate | diff | comparison | revisions
test/tools/javac/options/T7022337.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6348499/T6348499.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6359313/T6359313.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6365040/T6365040.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6413690/T6413690.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6414633/T6414633.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6430209/T6430209.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6499119/ClassProcessor.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6511613/clss41701.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6512707/T6512707.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6634138/T6634138.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6994946/SemanticErrorTest.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/6994946/SyntaxErrorTest.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/T6920317.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/T7196462.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/TestWarnErrorCount.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/environment/TestSourceVersion.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/environment/round/TestContext.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/errors/TestErrorCount.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/errors/TestFatalityOfParseErrors.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/errors/TestOptionSyntaxErrors.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/errors/TestParseErrors/TestParseErrors.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/errors/TestReturnCode.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestFilerConstraints.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestGetResource.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestGetResource2.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestInvalidRelativeNames.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestLastRound.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestPackageInfo.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/filer/TestValidRelativeNames.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/messager/6362067/T6362067.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/messager/MessagerBasics.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/6194785/T6194785.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/6341534/T6341534.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestAnonClassNames.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestElement.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement2/TestMissingClass.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericClass1.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericClass2.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface1.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface2.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestMissingElement2/TestMissingInterface.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestNames.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestPackageElement.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestResourceElement.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestResourceVariable.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TestTypeParameter.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/element/TypeParamBounds.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/type/MirroredTypeEx/OverEager.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/type/MirroredTypeEx/Plurality.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/type/NoTypes.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/type/TestUnionType.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/BinaryName.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/GetTypeElemBadArg.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/NoSupers.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/OverridesSpecEx.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/TypesBadArg.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/deprecation/TestDeprecation.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/directSupersOfErr/DirectSupersOfErr.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/elements/TestGetPackageOf.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/model/util/filter/TestIterables.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/options/testCommandLineClasses/Test.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/options/testPrintProcessorInfo/Test.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/warnings/UseImplicit/TestProcUseImplicitWarning.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/werror/WError1.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/werror/WErrorGen.java file | annotate | diff | comparison | revisions
test/tools/javac/processing/werror/WErrorLast.java file | annotate | diff | comparison | revisions
test/tools/javac/resolve/ResolveHarness.java file | annotate | diff | comparison | revisions
test/tools/javac/util/T6597678.java file | annotate | diff | comparison | revisions
test/tools/javac/util/context/T7021650.java file | annotate | diff | comparison | revisions
     1.1 --- a/test/tools/javac/7129225/TestImportStar.java	Thu Dec 20 17:59:46 2012 +0000
     1.2 +++ b/test/tools/javac/7129225/TestImportStar.java	Fri Dec 21 08:45:43 2012 -0800
     1.3 @@ -26,7 +26,7 @@
     1.4  /* @test
     1.5   * @bug 7129225
     1.6   * @summary import xxx.* isn't handled correctly by annotation processing
     1.7 - * @library ../lib
     1.8 + * @library /tools/javac/lib
     1.9   * @build JavacTestingAbstractProcessor
    1.10   * @compile/fail/ref=NegTest.ref -XDrawDiagnostics TestImportStar.java
    1.11   * @compile Anno.java AnnoProcessor.java
     2.1 --- a/test/tools/javac/cast/intersection/model/Model01.java	Thu Dec 20 17:59:46 2012 +0000
     2.2 +++ b/test/tools/javac/cast/intersection/model/Model01.java	Fri Dec 21 08:45:43 2012 -0800
     2.3 @@ -25,7 +25,7 @@
     2.4   * @test
     2.5   * @bug 8002099
     2.6   * @summary Add support for intersection types in cast expression
     2.7 - * @library ../../../lib
     2.8 + * @library /tools/javac/lib
     2.9   * @build JavacTestingAbstractProcessor ModelChecker
    2.10   * @compile -XDallowIntersectionTypes -processor ModelChecker Model01.java
    2.11   */
     3.1 --- a/test/tools/javac/classreader/T7031108.java	Thu Dec 20 17:59:46 2012 +0000
     3.2 +++ b/test/tools/javac/classreader/T7031108.java	Fri Dec 21 08:45:43 2012 -0800
     3.3 @@ -25,7 +25,7 @@
     3.4   * @test
     3.5   * @bug 7031108
     3.6   * @summary NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
     3.7 - * @library ../lib
     3.8 + * @library /tools/javac/lib
     3.9   * @build JavacTestingAbstractProcessor T7031108
    3.10   * @run main T7031108
    3.11   */
     4.1 --- a/test/tools/javac/enum/6350057/T6350057.java	Thu Dec 20 17:59:46 2012 +0000
     4.2 +++ b/test/tools/javac/enum/6350057/T6350057.java	Fri Dec 21 08:45:43 2012 -0800
     4.3 @@ -26,7 +26,7 @@
     4.4   * @bug 6350057 7025809
     4.5   * @summary Test that parameters on implicit enum methods have the right kind
     4.6   * @author  Joseph D. Darcy
     4.7 - * @library ../../lib
     4.8 + * @library /tools/javac/lib
     4.9   * @build   JavacTestingAbstractProcessor T6350057
    4.10   * @compile -processor T6350057 -proc:only TestEnum.java
    4.11   */
     5.1 --- a/test/tools/javac/enum/6424358/T6424358.java	Thu Dec 20 17:59:46 2012 +0000
     5.2 +++ b/test/tools/javac/enum/6424358/T6424358.java	Fri Dec 21 08:45:43 2012 -0800
     5.3 @@ -26,7 +26,7 @@
     5.4   * @bug     6424358 7025809
     5.5   * @summary Synthesized static enum method values() is final
     5.6   * @author  Peter von der Ah\u00e9
     5.7 - * @library ../../lib
     5.8 + * @library /tools/javac/lib
     5.9   * @build   JavacTestingAbstractProcessor T6424358
    5.10   * @compile -processor T6424358 -proc:only T6424358.java
    5.11   */
     6.1 --- a/test/tools/javac/file/T7018098.java	Thu Dec 20 17:59:46 2012 +0000
     6.2 +++ b/test/tools/javac/file/T7018098.java	Fri Dec 21 08:45:43 2012 -0800
     6.3 @@ -25,7 +25,7 @@
     6.4   * @test
     6.5   * @bug 7018098
     6.6   * @summary CacheFSInfo persists too long
     6.7 - * @library ../lib
     6.8 + * @library /tools/javac/lib
     6.9   * @build JavacTestingAbstractProcessor T7018098
    6.10   * @run main T7018098
    6.11   */
     7.1 --- a/test/tools/javac/multicatch/model/ModelChecker.java	Thu Dec 20 17:59:46 2012 +0000
     7.2 +++ b/test/tools/javac/multicatch/model/ModelChecker.java	Fri Dec 21 08:45:43 2012 -0800
     7.3 @@ -25,7 +25,7 @@
     7.4   * @test
     7.5   * @bug 6993963 7025809
     7.6   * @summary Project Coin: Use precise exception analysis for effectively final catch parameters
     7.7 - * @library ../../lib
     7.8 + * @library /tools/javac/lib
     7.9   * @build JavacTestingAbstractProcessor ModelChecker
    7.10   * @compile -processor ModelChecker Model01.java
    7.11   */
     8.1 --- a/test/tools/javac/options/T7022337.java	Thu Dec 20 17:59:46 2012 +0000
     8.2 +++ b/test/tools/javac/options/T7022337.java	Fri Dec 21 08:45:43 2012 -0800
     8.3 @@ -26,7 +26,7 @@
     8.4   * @test
     8.5   * @bug 7022337
     8.6   * @summary repeated warnings about bootclasspath not set
     8.7 - * @library ../lib
     8.8 + * @library /tools/javac/lib
     8.9   * @build JavacTestingAbstractProcessor T7022337
    8.10   * @run main T7022337
    8.11   */
     9.1 --- a/test/tools/javac/processing/6348499/T6348499.java	Thu Dec 20 17:59:46 2012 +0000
     9.2 +++ b/test/tools/javac/processing/6348499/T6348499.java	Fri Dec 21 08:45:43 2012 -0800
     9.3 @@ -25,7 +25,7 @@
     9.4   * @test
     9.5   * @bug 6441871
     9.6   * @summary javac crashes at com.sun.tools.javac.jvm.ClassReader$BadClassFile
     9.7 - * @library ../../lib
     9.8 + * @library /tools/javac/lib
     9.9   * @build JavacTestingAbstractProcessor A
    9.10   * @run main T6348499
    9.11   */
    10.1 --- a/test/tools/javac/processing/6359313/T6359313.java	Thu Dec 20 17:59:46 2012 +0000
    10.2 +++ b/test/tools/javac/processing/6359313/T6359313.java	Fri Dec 21 08:45:43 2012 -0800
    10.3 @@ -26,7 +26,7 @@
    10.4   * @bug     6359313
    10.5   * @summary error compiling annotated package
    10.6   * @author  Peter von der Ah\u00e9
    10.7 - * @library ../../lib
    10.8 + * @library /tools/javac/lib
    10.9   * @build   JavacTestingAbstractProcessor
   10.10   * @compile T6359313.java
   10.11   * @compile -processor T6359313 package-info.java Foo.java
    11.1 --- a/test/tools/javac/processing/6365040/T6365040.java	Thu Dec 20 17:59:46 2012 +0000
    11.2 +++ b/test/tools/javac/processing/6365040/T6365040.java	Fri Dec 21 08:45:43 2012 -0800
    11.3 @@ -26,7 +26,7 @@
    11.4   * @bug 6365040 6358129
    11.5   * @summary Test -processor foo,bar,baz
    11.6   * @author  Joseph D. Darcy
    11.7 - * @library ../../lib
    11.8 + * @library /tools/javac/lib
    11.9   * @build   JavacTestingAbstractProcessor
   11.10   * @compile ProcFoo.java
   11.11   * @compile ProcBar.java
    12.1 --- a/test/tools/javac/processing/6413690/T6413690.java	Thu Dec 20 17:59:46 2012 +0000
    12.2 +++ b/test/tools/javac/processing/6413690/T6413690.java	Fri Dec 21 08:45:43 2012 -0800
    12.3 @@ -26,7 +26,7 @@
    12.4   * @bug     6413690 6380018
    12.5   * @summary JavacProcessingEnvironment does not enter trees from preceding rounds
    12.6   * @author  Peter von der Ah\u00e9
    12.7 - * @library ../../lib
    12.8 + * @library /tools/javac/lib
    12.9   * @build   JavacTestingAbstractProcessor
   12.10   * @compile T6413690.java
   12.11   * @compile -XDfatalEnterError -verbose -processor T6413690 src/Super.java TestMe.java
    13.1 --- a/test/tools/javac/processing/6414633/T6414633.java	Thu Dec 20 17:59:46 2012 +0000
    13.2 +++ b/test/tools/javac/processing/6414633/T6414633.java	Fri Dec 21 08:45:43 2012 -0800
    13.3 @@ -25,7 +25,7 @@
    13.4   * @test
    13.5   * @bug 6414633 6440109
    13.6   * @summary Only the first processor message at a source location is reported
    13.7 - * @library ../../lib
    13.8 + * @library /tools/javac/lib
    13.9   * @build    JavacTestingAbstractProcessor A T6414633
   13.10   * @run main T6414633
   13.11   */
    14.1 --- a/test/tools/javac/processing/6430209/T6430209.java	Thu Dec 20 17:59:46 2012 +0000
    14.2 +++ b/test/tools/javac/processing/6430209/T6430209.java	Fri Dec 21 08:45:43 2012 -0800
    14.3 @@ -25,7 +25,7 @@
    14.4   * @test
    14.5   * @bug 6441871
    14.6   * @summary spurious compiler error elicited by packageElement.getEnclosedElements()
    14.7 - * @library ../../lib
    14.8 + * @library /tools/javac/lib
    14.9   * @build JavacTestingAbstractProcessor b6341534
   14.10   * @run main T6430209
   14.11   */
    15.1 --- a/test/tools/javac/processing/6499119/ClassProcessor.java	Thu Dec 20 17:59:46 2012 +0000
    15.2 +++ b/test/tools/javac/processing/6499119/ClassProcessor.java	Fri Dec 21 08:45:43 2012 -0800
    15.3 @@ -32,7 +32,7 @@
    15.4   * @test
    15.5   * @bug 6499119
    15.6   * @summary Created package-info class file modeled improperly
    15.7 - * @library ../../lib
    15.8 + * @library /tools/javac/lib
    15.9   * @build   JavacTestingAbstractProcessor
   15.10   * @compile ClassProcessor.java package-info.java
   15.11   * @compile/process -cp . -processor ClassProcessor -Akind=java  java.lang.Object
    16.1 --- a/test/tools/javac/processing/6511613/clss41701.java	Thu Dec 20 17:59:46 2012 +0000
    16.2 +++ b/test/tools/javac/processing/6511613/clss41701.java	Fri Dec 21 08:45:43 2012 -0800
    16.3 @@ -26,7 +26,7 @@
    16.4   * @bug 6511613
    16.5   * @summary javac unexpectedly doesn't fail in some cases if an annotation processor specified
    16.6   *
    16.7 - * @library ../../lib
    16.8 + * @library /tools/javac/lib
    16.9   * @build JavacTestingAbstractProcessor DummyProcessor
   16.10   * @compile/fail clss41701.java
   16.11   * @compile/fail -processor DummyProcessor clss41701.java
    17.1 --- a/test/tools/javac/processing/6512707/T6512707.java	Thu Dec 20 17:59:46 2012 +0000
    17.2 +++ b/test/tools/javac/processing/6512707/T6512707.java	Fri Dec 21 08:45:43 2012 -0800
    17.3 @@ -26,7 +26,7 @@
    17.4   * @bug 6512707
    17.5   * @summary "incompatible types" after (unrelated) annotation processing
    17.6   * @author  Peter Runge
    17.7 - * @library ../../lib
    17.8 + * @library /tools/javac/lib
    17.9   * @build   JavacTestingAbstractProcessor
   17.10   * @compile T6512707.java
   17.11   * @compile -processor T6512707 TestAnnotation.java
    18.1 --- a/test/tools/javac/processing/6634138/T6634138.java	Thu Dec 20 17:59:46 2012 +0000
    18.2 +++ b/test/tools/javac/processing/6634138/T6634138.java	Fri Dec 21 08:45:43 2012 -0800
    18.3 @@ -26,7 +26,7 @@
    18.4   * @bug 6634138
    18.5   * @author  Joseph D. Darcy
    18.6   * @summary Verify source files output after processing is over are compiled
    18.7 - * @library ../../lib
    18.8 + * @library /tools/javac/lib
    18.9   * @build   JavacTestingAbstractProcessor
   18.10   * @compile T6634138.java
   18.11   * @compile -processor T6634138 Dummy.java
    19.1 --- a/test/tools/javac/processing/6994946/SemanticErrorTest.java	Thu Dec 20 17:59:46 2012 +0000
    19.2 +++ b/test/tools/javac/processing/6994946/SemanticErrorTest.java	Fri Dec 21 08:45:43 2012 -0800
    19.3 @@ -2,7 +2,7 @@
    19.4   * @test /nodynamiccopyright/
    19.5   * @bug 6994946
    19.6   * @summary option to specify only syntax errors as unrecoverable
    19.7 - * @library ../../lib
    19.8 + * @library /tools/javac/lib
    19.9   * @build JavacTestingAbstractProcessor TestProcessor
   19.10   * @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics                                  -processor TestProcessor SemanticErrorTest.java
   19.11   * @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java
    20.1 --- a/test/tools/javac/processing/6994946/SyntaxErrorTest.java	Thu Dec 20 17:59:46 2012 +0000
    20.2 +++ b/test/tools/javac/processing/6994946/SyntaxErrorTest.java	Fri Dec 21 08:45:43 2012 -0800
    20.3 @@ -2,7 +2,7 @@
    20.4   * @test /nodynamiccopyright/
    20.5   * @bug 6994946
    20.6   * @summary option to specify only syntax errors as unrecoverable
    20.7 - * @library ../../lib
    20.8 + * @library /tools/javac/lib
    20.9   * @build JavacTestingAbstractProcessor TestProcessor
   20.10   * @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics                                  -processor TestProcessor SyntaxErrorTest.java
   20.11   * @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SyntaxErrorTest.java
    21.1 --- a/test/tools/javac/processing/T6920317.java	Thu Dec 20 17:59:46 2012 +0000
    21.2 +++ b/test/tools/javac/processing/T6920317.java	Fri Dec 21 08:45:43 2012 -0800
    21.3 @@ -25,7 +25,7 @@
    21.4   * @test
    21.5   * @bug 6920317
    21.6   * @summary package-info.java file has to be specified on the javac cmdline, else it will not be avail
    21.7 - * @library ../lib
    21.8 + * @library /tools/javac/lib
    21.9   */
   21.10  
   21.11  import java.io.*;
    22.1 --- a/test/tools/javac/processing/T7196462.java	Thu Dec 20 17:59:46 2012 +0000
    22.2 +++ b/test/tools/javac/processing/T7196462.java	Fri Dec 21 08:45:43 2012 -0800
    22.3 @@ -25,7 +25,7 @@
    22.4   * @test
    22.5   * @bug 7196462
    22.6   * @summary JavacProcessingEnvironment should tolerate BasicJavacTask
    22.7 - * @library ../lib
    22.8 + * @library /tools/javac/lib
    22.9   * @build JavacTestingAbstractProcessor T7196462
   22.10   * @compile/process -processor T7196462 T7196462.java
   22.11   */
    23.1 --- a/test/tools/javac/processing/TestWarnErrorCount.java	Thu Dec 20 17:59:46 2012 +0000
    23.2 +++ b/test/tools/javac/processing/TestWarnErrorCount.java	Fri Dec 21 08:45:43 2012 -0800
    23.3 @@ -26,7 +26,7 @@
    23.4   * @test
    23.5   * @bug 7022337
    23.6   * @summary repeated warnings about bootclasspath not set
    23.7 - * @library ../lib
    23.8 + * @library /tools/javac/lib
    23.9   * @build JavacTestingAbstractProcessor TestWarnErrorCount
   23.10   * @run main TestWarnErrorCount
   23.11   */
    24.1 --- a/test/tools/javac/processing/environment/TestSourceVersion.java	Thu Dec 20 17:59:46 2012 +0000
    24.2 +++ b/test/tools/javac/processing/environment/TestSourceVersion.java	Fri Dec 21 08:45:43 2012 -0800
    24.3 @@ -26,7 +26,7 @@
    24.4   * @bug 6402506
    24.5   * @summary Test that getSourceVersion works properly
    24.6   * @author  Joseph D. Darcy
    24.7 - * @library ../../lib
    24.8 + * @library /tools/javac/lib
    24.9   * @build   JavacTestingAbstractProcessor
   24.10   * @compile TestSourceVersion.java
   24.11   * @compile -processor TestSourceVersion -proc:only -source 1.2 -AExpectedVersion=RELEASE_2 HelloWorld.java
    25.1 --- a/test/tools/javac/processing/environment/round/TestContext.java	Thu Dec 20 17:59:46 2012 +0000
    25.2 +++ b/test/tools/javac/processing/environment/round/TestContext.java	Fri Dec 21 08:45:43 2012 -0800
    25.3 @@ -25,7 +25,7 @@
    25.4   * @test
    25.5   * @bug 6988836
    25.6   * @summary A new JavacElements is created for each round of annotation processing
    25.7 - * @library ../../../lib
    25.8 + * @library /tools/javac/lib
    25.9   * @build JavacTestingAbstractProcessor TestContext
   25.10   * @compile/process -processor TestContext -XprintRounds TestContext
   25.11   */
    26.1 --- a/test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java	Thu Dec 20 17:59:46 2012 +0000
    26.2 +++ b/test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java	Fri Dec 21 08:45:43 2012 -0800
    26.3 @@ -26,7 +26,7 @@
    26.4   * @bug 6397298 6400986 6425592 6449798 6453386 6508401 6498938 6911854
    26.5   * @summary Tests that getElementsAnnotatedWith works properly.
    26.6   * @author  Joseph D. Darcy
    26.7 - * @library ../../../lib
    26.8 + * @library /tools/javac/lib
    26.9   * @build   JavacTestingAbstractProcessor
   26.10   * @compile TestElementsAnnotatedWith.java
   26.11   * @compile InheritedAnnotation.java
    27.1 --- a/test/tools/javac/processing/errors/TestErrorCount.java	Thu Dec 20 17:59:46 2012 +0000
    27.2 +++ b/test/tools/javac/processing/errors/TestErrorCount.java	Fri Dec 21 08:45:43 2012 -0800
    27.3 @@ -25,7 +25,7 @@
    27.4   * @test
    27.5   * @bug 6988079
    27.6   * @summary Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
    27.7 - * @library ../../lib
    27.8 + * @library /tools/javac/lib
    27.9   * @build JavacTestingAbstractProcessor TestErrorCount
   27.10   * @compile/fail/ref=TestErrorCount.out -XDrawDiagnostics -processor TestErrorCount TestErrorCount.java
   27.11   */
    28.1 --- a/test/tools/javac/processing/errors/TestFatalityOfParseErrors.java	Thu Dec 20 17:59:46 2012 +0000
    28.2 +++ b/test/tools/javac/processing/errors/TestFatalityOfParseErrors.java	Fri Dec 21 08:45:43 2012 -0800
    28.3 @@ -26,7 +26,7 @@
    28.4   * @bug 6403459
    28.5   * @summary Test that generating programs with syntax errors is a fatal condition
    28.6   * @author  Joseph D. Darcy
    28.7 - * @library ../../lib
    28.8 + * @library /tools/javac/lib
    28.9   * @build JavacTestingAbstractProcessor
   28.10   * @compile TestReturnCode.java
   28.11   * @compile TestFatalityOfParseErrors.java
    29.1 --- a/test/tools/javac/processing/errors/TestOptionSyntaxErrors.java	Thu Dec 20 17:59:46 2012 +0000
    29.2 +++ b/test/tools/javac/processing/errors/TestOptionSyntaxErrors.java	Fri Dec 21 08:45:43 2012 -0800
    29.3 @@ -26,7 +26,7 @@
    29.4   * @bug 6406212
    29.5   * @summary Test that annotation processor options with illegal syntax are rejected
    29.6   * @author  Joseph D. Darcy
    29.7 - * @library ../../lib
    29.8 + * @library /tools/javac/lib
    29.9   * @build JavacTestingAbstractProcessor CompileFail
   29.10   * @compile TestOptionSyntaxErrors.java
   29.11   * @run main CompileFail CMDERR -A TestOptionSyntaxErrors.java
    30.1 --- a/test/tools/javac/processing/errors/TestParseErrors/TestParseErrors.java	Thu Dec 20 17:59:46 2012 +0000
    30.2 +++ b/test/tools/javac/processing/errors/TestParseErrors/TestParseErrors.java	Fri Dec 21 08:45:43 2012 -0800
    30.3 @@ -25,7 +25,7 @@
    30.4   * @test
    30.5   * @bug 6988407
    30.6   * @summary javac crashes running processor on errant code; it used to print error message
    30.7 - * @library ../../../lib
    30.8 + * @library /tools/javac/lib
    30.9   * @build JavacTestingAbstractProcessor TestParseErrors
   30.10   * @compile/fail/ref=TestParseErrors.out -XDrawDiagnostics -proc:only -processor TestParseErrors ParseErrors.java
   30.11   */
    31.1 --- a/test/tools/javac/processing/errors/TestReturnCode.java	Thu Dec 20 17:59:46 2012 +0000
    31.2 +++ b/test/tools/javac/processing/errors/TestReturnCode.java	Fri Dec 21 08:45:43 2012 -0800
    31.3 @@ -26,7 +26,7 @@
    31.4   * @bug 6403468
    31.5   * @summary Test that an erroneous return code results from raising an error.
    31.6   * @author  Joseph D. Darcy
    31.7 - * @library ../../lib
    31.8 + * @library /tools/javac/lib
    31.9   * @build JavacTestingAbstractProcessor CompileFail
   31.10   * @compile TestReturnCode.java
   31.11   *
    32.1 --- a/test/tools/javac/processing/filer/TestFilerConstraints.java	Thu Dec 20 17:59:46 2012 +0000
    32.2 +++ b/test/tools/javac/processing/filer/TestFilerConstraints.java	Fri Dec 21 08:45:43 2012 -0800
    32.3 @@ -26,7 +26,7 @@
    32.4   * @bug 6380018 6453386 6457283
    32.5   * @summary Test that the constraints guaranteed by the Filer and maintained
    32.6   * @author  Joseph D. Darcy
    32.7 - * @library ../../lib
    32.8 + * @library /tools/javac/lib
    32.9   * @build TestFilerConstraints
   32.10   * @compile -encoding iso-8859-1 -processor TestFilerConstraints -proc:only TestFilerConstraints.java
   32.11   */
    33.1 --- a/test/tools/javac/processing/filer/TestGetResource.java	Thu Dec 20 17:59:46 2012 +0000
    33.2 +++ b/test/tools/javac/processing/filer/TestGetResource.java	Fri Dec 21 08:45:43 2012 -0800
    33.3 @@ -26,7 +26,7 @@
    33.4   * @bug 6380018 6449798
    33.5   * @summary Test Filer.getResource
    33.6   * @author  Joseph D. Darcy
    33.7 - * @library ../../lib
    33.8 + * @library /tools/javac/lib
    33.9   * @build  JavacTestingAbstractProcessor TestGetResource
   33.10   * @compile -processor TestGetResource -proc:only -Aphase=write TestGetResource.java
   33.11   * @compile -processor TestGetResource -proc:only -Aphase=read  TestGetResource.java
    34.1 --- a/test/tools/javac/processing/filer/TestGetResource2.java	Thu Dec 20 17:59:46 2012 +0000
    34.2 +++ b/test/tools/javac/processing/filer/TestGetResource2.java	Fri Dec 21 08:45:43 2012 -0800
    34.3 @@ -24,7 +24,7 @@
    34.4  /* @test
    34.5   * @bug 6929404
    34.6   * @summary Filer.getResource(SOURCE_PATH, ...) does not work when -sourcepath contains >1 entry
    34.7 - * @library ../../lib
    34.8 + * @library /tools/javac/lib
    34.9   */
   34.10  
   34.11  import java.io.*;
    35.1 --- a/test/tools/javac/processing/filer/TestInvalidRelativeNames.java	Thu Dec 20 17:59:46 2012 +0000
    35.2 +++ b/test/tools/javac/processing/filer/TestInvalidRelativeNames.java	Fri Dec 21 08:45:43 2012 -0800
    35.3 @@ -25,7 +25,7 @@
    35.4   * @test
    35.5   * @bug 6502392
    35.6   * @summary Invalid relative names for Filer.createResource and Filer.getResource
    35.7 - * @library ../../lib
    35.8 + * @library /tools/javac/lib
    35.9   * @build   JavacTestingAbstractProcessor
   35.10   * @compile TestInvalidRelativeNames.java
   35.11   * @compile/process -processor TestInvalidRelativeNames java.lang.Object
    36.1 --- a/test/tools/javac/processing/filer/TestLastRound.java	Thu Dec 20 17:59:46 2012 +0000
    36.2 +++ b/test/tools/javac/processing/filer/TestLastRound.java	Fri Dec 21 08:45:43 2012 -0800
    36.3 @@ -24,7 +24,7 @@
    36.4  /*
    36.5   * @test 6966604
    36.6   * @summary JavacFiler not correctly notified of lastRound
    36.7 - * @library ../../lib
    36.8 + * @library /tools/javac/lib
    36.9   * @build   JavacTestingAbstractProcessor
   36.10   * @compile TestLastRound.java
   36.11   * @compile/fail/ref=TestLastRound.out -XDrawDiagnostics -Werror -proc:only -processor TestLastRound TestLastRound.java
    37.1 --- a/test/tools/javac/processing/filer/TestPackageInfo.java	Thu Dec 20 17:59:46 2012 +0000
    37.2 +++ b/test/tools/javac/processing/filer/TestPackageInfo.java	Fri Dec 21 08:45:43 2012 -0800
    37.3 @@ -26,7 +26,7 @@
    37.4   * @bug 6380018 6392177 6993311
    37.5   * @summary Test the ability to create and process package-info.java files
    37.6   * @author  Joseph D. Darcy
    37.7 - * @library ../../lib
    37.8 + * @library /tools/javac/lib
    37.9   * @build   JavacTestingAbstractProcessor
   37.10   * @compile TestPackageInfo.java
   37.11   * @compile -processor TestPackageInfo -proc:only foo/bar/package-info.java TestPackageInfo.java
    38.1 --- a/test/tools/javac/processing/filer/TestValidRelativeNames.java	Thu Dec 20 17:59:46 2012 +0000
    38.2 +++ b/test/tools/javac/processing/filer/TestValidRelativeNames.java	Fri Dec 21 08:45:43 2012 -0800
    38.3 @@ -25,7 +25,7 @@
    38.4   * @test
    38.5   * @bug 6999891
    38.6   * @summary Test valid relative names for Filer.createResource and Filer.getResource
    38.7 - * @library ../../lib
    38.8 + * @library /tools/javac/lib
    38.9   * @build   JavacTestingAbstractProcessor
   38.10   * @compile TestValidRelativeNames.java
   38.11   * @compile/process -processor TestValidRelativeNames -Amode=create java.lang.Object
    39.1 --- a/test/tools/javac/processing/messager/6362067/T6362067.java	Thu Dec 20 17:59:46 2012 +0000
    39.2 +++ b/test/tools/javac/processing/messager/6362067/T6362067.java	Fri Dec 21 08:45:43 2012 -0800
    39.3 @@ -2,7 +2,7 @@
    39.4   * @test  /nodynamiccopyright/
    39.5   * @bug     6362067
    39.6   * @summary Messager methods do not print out source position information
    39.7 - * @library ../../../lib
    39.8 + * @library /tools/javac/lib
    39.9   * @build   JavacTestingAbstractProcessor T6362067
   39.10   * @compile -processor T6362067 -proc:only T6362067.java
   39.11   * @compile/ref=T6362067.out -XDrawDiagnostics -processor T6362067 -proc:only T6362067.java
    40.1 --- a/test/tools/javac/processing/messager/MessagerBasics.java	Thu Dec 20 17:59:46 2012 +0000
    40.2 +++ b/test/tools/javac/processing/messager/MessagerBasics.java	Fri Dec 21 08:45:43 2012 -0800
    40.3 @@ -26,7 +26,7 @@
    40.4   * @bug     6341173 6341072
    40.5   * @summary Test presence of Messager methods
    40.6   * @author  Joseph D. Darcy
    40.7 - * @library ../../lib
    40.8 + * @library /tools/javac/lib
    40.9   * @build   JavacTestingAbstractProcessor
   40.10   * @compile MessagerBasics.java
   40.11   * @compile -processor MessagerBasics -proc:only MessagerBasics.java
    41.1 --- a/test/tools/javac/processing/model/6194785/T6194785.java	Thu Dec 20 17:59:46 2012 +0000
    41.2 +++ b/test/tools/javac/processing/model/6194785/T6194785.java	Fri Dec 21 08:45:43 2012 -0800
    41.3 @@ -26,7 +26,7 @@
    41.4   * @bug     6194785
    41.5   * @summary ParameterDeclaration.getSimpleName does not return actual name from class files
    41.6   * @author  Peter von der Ah\u00e9
    41.7 - * @library ../../../lib
    41.8 + * @library /tools/javac/lib
    41.9   * @build   JavacTestingAbstractProcessor
   41.10   * @compile -g T6194785.java T6194785a.java
   41.11   * @compile -processor T6194785 foo.T6194785a T6194785.java
    42.1 --- a/test/tools/javac/processing/model/6341534/T6341534.java	Thu Dec 20 17:59:46 2012 +0000
    42.2 +++ b/test/tools/javac/processing/model/6341534/T6341534.java	Fri Dec 21 08:45:43 2012 -0800
    42.3 @@ -27,7 +27,7 @@
    42.4   * @summary PackageElement.getEnclosedElements results in NullPointerException from parse(JavaCompiler.java:429)
    42.5   * @author  Steve Sides
    42.6   * @author  Peter von der Ahe
    42.7 - * @library ../../../lib
    42.8 + * @library /tools/javac/lib
    42.9   * @build   JavacTestingAbstractProcessor
   42.10   * @compile T6341534.java
   42.11   * @compile -proc:only -processor T6341534 dir/package-info.java
    43.1 --- a/test/tools/javac/processing/model/element/TestAnonClassNames.java	Thu Dec 20 17:59:46 2012 +0000
    43.2 +++ b/test/tools/javac/processing/model/element/TestAnonClassNames.java	Fri Dec 21 08:45:43 2012 -0800
    43.3 @@ -26,7 +26,7 @@
    43.4   * @bug 6449781 6930508
    43.5   * @summary Test that reported names of anonymous classes are non-null.
    43.6   * @author  Joseph D. Darcy
    43.7 - * @library ../../../lib
    43.8 + * @library /tools/javac/lib
    43.9   * @build   JavacTestingAbstractProcessor TestAnonSourceNames
   43.10   * @compile -processor TestAnonSourceNames TestAnonClassNames.java
   43.11   * @run main TestAnonClassNames
    44.1 --- a/test/tools/javac/processing/model/element/TestElement.java	Thu Dec 20 17:59:46 2012 +0000
    44.2 +++ b/test/tools/javac/processing/model/element/TestElement.java	Fri Dec 21 08:45:43 2012 -0800
    44.3 @@ -26,7 +26,7 @@
    44.4   * @bug 6453386
    44.5   * @summary Test basic properties of javax.lang.element.Element
    44.6   * @author  Joseph D. Darcy
    44.7 - * @library ../../../lib
    44.8 + * @library /tools/javac/lib
    44.9   * @build   JavacTestingAbstractProcessor TestElement
   44.10   * @compile -processor TestElement -proc:only TestElement.java
   44.11   */
    45.1 --- a/test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java	Thu Dec 20 17:59:46 2012 +0000
    45.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java	Fri Dec 21 08:45:43 2012 -0800
    45.3 @@ -26,7 +26,7 @@
    45.4   * @test
    45.5   * @bug 6639645 7026414 7025809
    45.6   * @summary Modeling type implementing missing interfaces
    45.7 - * @library ../../../../lib
    45.8 + * @library /tools/javac/lib
    45.9   * @build JavacTestingAbstractProcessor TestMissingElement
   45.10   * @compile -proc:only -XprintRounds -processor TestMissingElement InvalidSource.java
   45.11   */
    46.1 --- a/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingClass.java	Thu Dec 20 17:59:46 2012 +0000
    46.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingClass.java	Fri Dec 21 08:45:43 2012 -0800
    46.3 @@ -25,7 +25,7 @@
    46.4   * @test
    46.5   * @bug 6639645
    46.6   * @summary Modeling type implementing missing interfaces
    46.7 - * @library ../../../../lib
    46.8 + * @library /tools/javac/lib
    46.9   * @build JavacTestingAbstractProcessor Generator
   46.10   * @compile -XprintRounds -processor Generator TestMissingClass.java
   46.11   * @run main TestMissingClass
    47.1 --- a/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericClass1.java	Thu Dec 20 17:59:46 2012 +0000
    47.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericClass1.java	Fri Dec 21 08:45:43 2012 -0800
    47.3 @@ -25,7 +25,7 @@
    47.4   * @test
    47.5   * @bug 6639645
    47.6   * @summary Modeling type implementing missing interfaces
    47.7 - * @library ../../../../lib
    47.8 + * @library /tools/javac/lib
    47.9   * @clean MissingGenericClass1
   47.10   * @build JavacTestingAbstractProcessor Generator
   47.11   * @compile -XprintRounds -processor Generator TestMissingGenericClass1.java
    48.1 --- a/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericClass2.java	Thu Dec 20 17:59:46 2012 +0000
    48.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericClass2.java	Fri Dec 21 08:45:43 2012 -0800
    48.3 @@ -25,7 +25,7 @@
    48.4   * @test
    48.5   * @bug 6639645
    48.6   * @summary Modeling type implementing missing interfaces
    48.7 - * @library ../../../../lib
    48.8 + * @library /tools/javac/lib
    48.9   * @clean MissingGenericClass2
   48.10   * @build JavacTestingAbstractProcessor Generator
   48.11   * @compile -XprintRounds -processor Generator TestMissingGenericClass2.java
    49.1 --- a/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface1.java	Thu Dec 20 17:59:46 2012 +0000
    49.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface1.java	Fri Dec 21 08:45:43 2012 -0800
    49.3 @@ -25,7 +25,7 @@
    49.4   * @test
    49.5   * @bug 6639645
    49.6   * @summary Modeling type implementing missing interfaces
    49.7 - * @library ../../../../lib
    49.8 + * @library /tools/javac/lib
    49.9   * @clean MissingGenericInterface1
   49.10   * @build JavacTestingAbstractProcessor Generator
   49.11   * @compile -XprintRounds -processor Generator TestMissingGenericInterface1.java
    50.1 --- a/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface2.java	Thu Dec 20 17:59:46 2012 +0000
    50.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingGenericInterface2.java	Fri Dec 21 08:45:43 2012 -0800
    50.3 @@ -25,7 +25,7 @@
    50.4   * @test
    50.5   * @bug 6639645
    50.6   * @summary Modeling type implementing missing interfaces
    50.7 - * @library ../../../../lib
    50.8 + * @library /tools/javac/lib
    50.9   * @clean MissingGenericInterface2
   50.10   * @build JavacTestingAbstractProcessor Generator
   50.11   * @compile -XprintRounds -processor Generator TestMissingGenericInterface2.java
    51.1 --- a/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingInterface.java	Thu Dec 20 17:59:46 2012 +0000
    51.2 +++ b/test/tools/javac/processing/model/element/TestMissingElement2/TestMissingInterface.java	Fri Dec 21 08:45:43 2012 -0800
    51.3 @@ -25,7 +25,7 @@
    51.4   * @test
    51.5   * @bug 6639645
    51.6   * @summary Modeling type implementing missing interfaces
    51.7 - * @library ../../../../lib
    51.8 + * @library /tools/javac/lib
    51.9   * @build JavacTestingAbstractProcessor Generator
   51.10   * @compile -XprintRounds -processor Generator TestMissingInterface.java
   51.11   * @run main TestMissingInterface
    52.1 --- a/test/tools/javac/processing/model/element/TestNames.java	Thu Dec 20 17:59:46 2012 +0000
    52.2 +++ b/test/tools/javac/processing/model/element/TestNames.java	Fri Dec 21 08:45:43 2012 -0800
    52.3 @@ -26,7 +26,7 @@
    52.4   * @bug 6380016
    52.5   * @summary Test that the constraints guaranteed by the Filer and maintained
    52.6   * @author  Joseph D. Darcy
    52.7 - * @library ../../../lib
    52.8 + * @library /tools/javac/lib
    52.9   * @build   JavacTestingAbstractProcessor TestNames
   52.10   * @compile -processor TestNames -proc:only TestNames.java
   52.11   */
    53.1 --- a/test/tools/javac/processing/model/element/TestPackageElement.java	Thu Dec 20 17:59:46 2012 +0000
    53.2 +++ b/test/tools/javac/processing/model/element/TestPackageElement.java	Fri Dec 21 08:45:43 2012 -0800
    53.3 @@ -26,7 +26,7 @@
    53.4   * @bug 6449798 6399404
    53.5   * @summary Test basic workings of PackageElement
    53.6   * @author  Joseph D. Darcy
    53.7 - * @library ../../../lib
    53.8 + * @library /tools/javac/lib
    53.9   * @build   JavacTestingAbstractProcessor TestPackageElement
   53.10   * @compile -processor TestPackageElement -proc:only TestPackageElement.java
   53.11   */
    54.1 --- a/test/tools/javac/processing/model/element/TestResourceElement.java	Thu Dec 20 17:59:46 2012 +0000
    54.2 +++ b/test/tools/javac/processing/model/element/TestResourceElement.java	Fri Dec 21 08:45:43 2012 -0800
    54.3 @@ -26,7 +26,7 @@
    54.4   * @bug 6967842
    54.5   * @summary Element not returned from tree API for ARM resource variables.
    54.6   * @author A. Sundararajan
    54.7 - * @library ../../../lib
    54.8 + * @library /tools/javac/lib
    54.9   * @build   JavacTestingAbstractProcessor TestResourceElement
   54.10   * @compile -processor TestResourceElement -proc:only TestResourceElement.java
   54.11   */
    55.1 --- a/test/tools/javac/processing/model/element/TestResourceVariable.java	Thu Dec 20 17:59:46 2012 +0000
    55.2 +++ b/test/tools/javac/processing/model/element/TestResourceVariable.java	Fri Dec 21 08:45:43 2012 -0800
    55.3 @@ -26,7 +26,7 @@
    55.4   * @bug  6911256 6964740 6967842 6961571 7025809
    55.5   * @summary Test that the resource variable kind is appropriately set
    55.6   * @author  Joseph D. Darcy
    55.7 - * @library ../../../lib
    55.8 + * @library /tools/javac/lib
    55.9   * @build   JavacTestingAbstractProcessor TestResourceVariable
   55.10   * @compile -processor TestResourceVariable -proc:only TestResourceVariable.java
   55.11   */
    56.1 --- a/test/tools/javac/processing/model/element/TestTypeParameter.java	Thu Dec 20 17:59:46 2012 +0000
    56.2 +++ b/test/tools/javac/processing/model/element/TestTypeParameter.java	Fri Dec 21 08:45:43 2012 -0800
    56.3 @@ -25,7 +25,7 @@
    56.4   * @test
    56.5   * @bug 6505047
    56.6   * @summary javax.lang.model.element.Element.getEnclosingElement() doesn't return null for type parameter
    56.7 - * @library ../../../lib
    56.8 + * @library /tools/javac/lib
    56.9   * @build JavacTestingAbstractProcessor TestTypeParameter
   56.10   * @compile -processor TestTypeParameter -proc:only TestTypeParameter.java
   56.11   */
    57.1 --- a/test/tools/javac/processing/model/element/TypeParamBounds.java	Thu Dec 20 17:59:46 2012 +0000
    57.2 +++ b/test/tools/javac/processing/model/element/TypeParamBounds.java	Fri Dec 21 08:45:43 2012 -0800
    57.3 @@ -26,7 +26,7 @@
    57.4   * @bug     6423972
    57.5   * @summary Tests TypeParameter.getBounds.
    57.6   * @author  Scott Seligman
    57.7 - * @library ../../../lib
    57.8 + * @library /tools/javac/lib
    57.9   * @build   JavacTestingAbstractProcessor TypeParamBounds
   57.10   * @compile -processor TypeParamBounds -proc:only TypeParamBounds.java
   57.11   */
    58.1 --- a/test/tools/javac/processing/model/type/MirroredTypeEx/OverEager.java	Thu Dec 20 17:59:46 2012 +0000
    58.2 +++ b/test/tools/javac/processing/model/type/MirroredTypeEx/OverEager.java	Fri Dec 21 08:45:43 2012 -0800
    58.3 @@ -26,7 +26,7 @@
    58.4   * @bug     6362178
    58.5   * @summary MirroredType[s]Exception shouldn't be created too eagerly
    58.6   * @author  Scott Seligman
    58.7 - * @library ../../../../lib
    58.8 + * @library /tools/javac/lib
    58.9   * @build JavacTestingAbstractProcessor
   58.10   * @compile -g OverEager.java
   58.11   * @compile -processor OverEager -proc:only OverEager.java
    59.1 --- a/test/tools/javac/processing/model/type/MirroredTypeEx/Plurality.java	Thu Dec 20 17:59:46 2012 +0000
    59.2 +++ b/test/tools/javac/processing/model/type/MirroredTypeEx/Plurality.java	Fri Dec 21 08:45:43 2012 -0800
    59.3 @@ -25,7 +25,7 @@
    59.4   * @test
    59.5   * @bug     6519115
    59.6   * @summary Verify MirroredTypeException vs MirroredTypesException is thrown
    59.7 - * @library ../../../../lib
    59.8 + * @library /tools/javac/lib
    59.9   * @build JavacTestingAbstractProcessor
   59.10   * @compile Plurality.java
   59.11   * @compile -processor Plurality -proc:only Plurality.java
    60.1 --- a/test/tools/javac/processing/model/type/NoTypes.java	Thu Dec 20 17:59:46 2012 +0000
    60.2 +++ b/test/tools/javac/processing/model/type/NoTypes.java	Fri Dec 21 08:45:43 2012 -0800
    60.3 @@ -26,7 +26,7 @@
    60.4   * @bug     6418666 6423973 6453386 7025809
    60.5   * @summary Test the NoTypes: VOID, PACKAGE, NONE
    60.6   * @author  Scott Seligman
    60.7 - * @library ../../../lib
    60.8 + * @library /tools/javac/lib
    60.9   * @build JavacTestingAbstractProcessor
   60.10   * @compile -g NoTypes.java
   60.11   * @compile -processor NoTypes -proc:only NoTypes.java
    61.1 --- a/test/tools/javac/processing/model/type/TestUnionType.java	Thu Dec 20 17:59:46 2012 +0000
    61.2 +++ b/test/tools/javac/processing/model/type/TestUnionType.java	Fri Dec 21 08:45:43 2012 -0800
    61.3 @@ -25,7 +25,7 @@
    61.4   * @test
    61.5   * @bug     7029150 7025809
    61.6   * @summary Test support for union types
    61.7 - * @library ../../../lib
    61.8 + * @library /tools/javac/lib
    61.9   */
   61.10  
   61.11  import java.net.URI;
    62.1 --- a/test/tools/javac/processing/model/util/BinaryName.java	Thu Dec 20 17:59:46 2012 +0000
    62.2 +++ b/test/tools/javac/processing/model/util/BinaryName.java	Fri Dec 21 08:45:43 2012 -0800
    62.3 @@ -26,7 +26,7 @@
    62.4   * @bug     6346251
    62.5   * @summary Test Elements.getBinaryName
    62.6   * @author  Scott Seligman
    62.7 - * @library ../../../lib
    62.8 + * @library /tools/javac/lib
    62.9   * @build   JavacTestingAbstractProcessor BinaryName
   62.10   * @compile -processor BinaryName -proc:only BinaryName.java
   62.11   */
    63.1 --- a/test/tools/javac/processing/model/util/GetTypeElemBadArg.java	Thu Dec 20 17:59:46 2012 +0000
    63.2 +++ b/test/tools/javac/processing/model/util/GetTypeElemBadArg.java	Fri Dec 21 08:45:43 2012 -0800
    63.3 @@ -26,7 +26,7 @@
    63.4   * @bug     6346506 6408241
    63.5   * @summary getTypeElement should tolerate a type that can't be found
    63.6   * @author  Scott Seligman
    63.7 - * @library ../../../lib
    63.8 + * @library /tools/javac/lib
    63.9   * @build   JavacTestingAbstractProcessor GetTypeElemBadArg
   63.10   * @compile -processor GetTypeElemBadArg -proc:only GetTypeElemBadArg.java
   63.11   */
    64.1 --- a/test/tools/javac/processing/model/util/NoSupers.java	Thu Dec 20 17:59:46 2012 +0000
    64.2 +++ b/test/tools/javac/processing/model/util/NoSupers.java	Fri Dec 21 08:45:43 2012 -0800
    64.3 @@ -26,7 +26,7 @@
    64.4   * @bug     6346453
    64.5   * @summary directSupertypes should return empty list if arg has no supertypes
    64.6   * @author  Scott Seligman
    64.7 - * @library ../../../lib
    64.8 + * @library /tools/javac/lib
    64.9   * @build   JavacTestingAbstractProcessor NoSupers
   64.10   * @compile -processor NoSupers -proc:only NoSupers.java
   64.11   */
    65.1 --- a/test/tools/javac/processing/model/util/OverridesSpecEx.java	Thu Dec 20 17:59:46 2012 +0000
    65.2 +++ b/test/tools/javac/processing/model/util/OverridesSpecEx.java	Fri Dec 21 08:45:43 2012 -0800
    65.3 @@ -26,7 +26,7 @@
    65.4   * @bug     6453386
    65.5   * @summary Verify that example code in Elements.overrides works as spec'ed.
    65.6   * @author  Scott Seligman
    65.7 - * @library ../../../lib
    65.8 + * @library /tools/javac/lib
    65.9   * @build JavacTestingAbstractProcessor
   65.10   * @compile -g OverridesSpecEx.java
   65.11   * @compile -processor OverridesSpecEx -proc:only OverridesSpecEx.java
    66.1 --- a/test/tools/javac/processing/model/util/TypesBadArg.java	Thu Dec 20 17:59:46 2012 +0000
    66.2 +++ b/test/tools/javac/processing/model/util/TypesBadArg.java	Fri Dec 21 08:45:43 2012 -0800
    66.3 @@ -26,7 +26,7 @@
    66.4   * @bug     6345812
    66.5   * @summary Validate argument kinds in Types utilities
    66.6   * @author  Scott Seligman
    66.7 - * @library ../../../lib
    66.8 + * @library /tools/javac/lib
    66.9   * @build   JavacTestingAbstractProcessor TypesBadArg
   66.10   * @compile -processor TypesBadArg -proc:only TypesBadArg.java
   66.11   */
    67.1 --- a/test/tools/javac/processing/model/util/deprecation/TestDeprecation.java	Thu Dec 20 17:59:46 2012 +0000
    67.2 +++ b/test/tools/javac/processing/model/util/deprecation/TestDeprecation.java	Fri Dec 21 08:45:43 2012 -0800
    67.3 @@ -26,7 +26,7 @@
    67.4   * @bug 6392818
    67.5   * @summary Tests Elements.isDeprecated(Element)
    67.6   * @author  Joseph D. Darcy
    67.7 - * @library ../../../../lib
    67.8 + * @library /tools/javac/lib
    67.9   * @build JavacTestingAbstractProcessor
   67.10   * @compile TestDeprecation.java
   67.11   * @compile -processor TestDeprecation -proc:only Dep1.java
    68.1 --- a/test/tools/javac/processing/model/util/directSupersOfErr/DirectSupersOfErr.java	Thu Dec 20 17:59:46 2012 +0000
    68.2 +++ b/test/tools/javac/processing/model/util/directSupersOfErr/DirectSupersOfErr.java	Fri Dec 21 08:45:43 2012 -0800
    68.3 @@ -26,7 +26,7 @@
    68.4   * @bug     6346973
    68.5   * @summary directSupertypes(t) should not return t
    68.6   * @author  Scott Seligman
    68.7 - * @library ../../../../lib
    68.8 + * @library /tools/javac/lib
    68.9   * @build   JavacTestingAbstractProcessor DirectSupersOfErr
   68.10   * @compile -processor DirectSupersOfErr -proc:only C1.java
   68.11   */
    69.1 --- a/test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java	Thu Dec 20 17:59:46 2012 +0000
    69.2 +++ b/test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java	Fri Dec 21 08:45:43 2012 -0800
    69.3 @@ -26,7 +26,7 @@
    69.4   * @bug 6471577 6517779
    69.5   * @summary Test Elements.getConstantExpression
    69.6   * @author  Joseph D. Darcy
    69.7 - * @library ../../../../lib
    69.8 + * @library /tools/javac/lib
    69.9   * @build   JavacTestingAbstractProcessor TestGetConstantExpression
   69.10   * @compile -processor TestGetConstantExpression Foo.java
   69.11   */
    70.1 --- a/test/tools/javac/processing/model/util/elements/TestGetPackageOf.java	Thu Dec 20 17:59:46 2012 +0000
    70.2 +++ b/test/tools/javac/processing/model/util/elements/TestGetPackageOf.java	Fri Dec 21 08:45:43 2012 -0800
    70.3 @@ -26,7 +26,7 @@
    70.4   * @bug 6453386
    70.5   * @summary Test Elements.getPackageOf
    70.6   * @author  Joseph D. Darcy
    70.7 - * @library ../../../../lib
    70.8 + * @library /tools/javac/lib
    70.9   * @build   JavacTestingAbstractProcessor TestGetPackageOf
   70.10   * @compile -processor TestGetPackageOf -proc:only TestGetPackageOf.java
   70.11   */
    71.1 --- a/test/tools/javac/processing/model/util/filter/TestIterables.java	Thu Dec 20 17:59:46 2012 +0000
    71.2 +++ b/test/tools/javac/processing/model/util/filter/TestIterables.java	Fri Dec 21 08:45:43 2012 -0800
    71.3 @@ -26,7 +26,7 @@
    71.4   * @bug 6406164
    71.5   * @summary Test that ElementFilter iterable methods behave properly.
    71.6   * @author  Joseph D. Darcy
    71.7 - * @library ../../../../lib
    71.8 + * @library /tools/javac/lib
    71.9   * @build JavacTestingAbstractProcessor
   71.10   * @compile TestIterables.java
   71.11   * @compile -processor TestIterables -proc:only Foo1.java
    72.1 --- a/test/tools/javac/processing/options/testCommandLineClasses/Test.java	Thu Dec 20 17:59:46 2012 +0000
    72.2 +++ b/test/tools/javac/processing/options/testCommandLineClasses/Test.java	Fri Dec 21 08:45:43 2012 -0800
    72.3 @@ -25,7 +25,7 @@
    72.4   * @test
    72.5   * @bug 6930508
    72.6   * @summary Passing nested class names on javac command line interfere with subsequent name -> class lookup
    72.7 - * @library ../../../lib
    72.8 + * @library /tools/javac/lib
    72.9   * @build JavacTestingAbstractProcessor p.NestedExamples Test
   72.10   * @run main Test
   72.11   */
    73.1 --- a/test/tools/javac/processing/options/testPrintProcessorInfo/Test.java	Thu Dec 20 17:59:46 2012 +0000
    73.2 +++ b/test/tools/javac/processing/options/testPrintProcessorInfo/Test.java	Fri Dec 21 08:45:43 2012 -0800
    73.3 @@ -25,7 +25,7 @@
    73.4   * @test
    73.5   * @bug 6987384
    73.6   * @summary -XprintProcessorRoundsInfo message printed with different timing than previous
    73.7 - * @library ../../../lib
    73.8 + * @library /tools/javac/lib
    73.9   * @build JavacTestingAbstractProcessor Test
   73.10   * @compile/fail/ref=Test.out -XDrawDiagnostics -XprintProcessorInfo -Werror -proc:only -processor Test Test.java
   73.11   */
    74.1 --- a/test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java	Thu Dec 20 17:59:46 2012 +0000
    74.2 +++ b/test/tools/javac/processing/options/testPrintProcessorInfo/TestWithXstdout.java	Fri Dec 21 08:45:43 2012 -0800
    74.3 @@ -25,7 +25,7 @@
    74.4   * @test
    74.5   * @bug 6987384
    74.6   * @summary -XprintProcessorRoundsInfo message printed with different timing than previous
    74.7 - * @library ../../../lib
    74.8 + * @library /tools/javac/lib
    74.9   * @build JavacTestingAbstractProcessor Test TestWithXstdout
   74.10   * @run main TestWithXstdout
   74.11   */
    75.1 --- a/test/tools/javac/processing/warnings/UseImplicit/TestProcUseImplicitWarning.java	Thu Dec 20 17:59:46 2012 +0000
    75.2 +++ b/test/tools/javac/processing/warnings/UseImplicit/TestProcUseImplicitWarning.java	Fri Dec 21 08:45:43 2012 -0800
    75.3 @@ -25,7 +25,7 @@
    75.4   * @test
    75.5   * @bug 6986892
    75.6   * @summary confusing warning given after errors in annotation processing
    75.7 - * @library ../../../lib
    75.8 + * @library /tools/javac/lib
    75.9   * @build JavacTestingAbstractProcessor TestProcUseImplicitWarning
   75.10   * @clean C1 p.C2
   75.11   * @compile/fail/ref=err.out -XDrawDiagnostics -processor TestProcUseImplicitWarning -Aerror C1.java
    76.1 --- a/test/tools/javac/processing/werror/WError1.java	Thu Dec 20 17:59:46 2012 +0000
    76.2 +++ b/test/tools/javac/processing/werror/WError1.java	Fri Dec 21 08:45:43 2012 -0800
    76.3 @@ -24,7 +24,7 @@
    76.4  /*
    76.5   * @test 6403456
    76.6   * @summary -Werror should work with annotation processing
    76.7 - * @library ../../lib
    76.8 + * @library /tools/javac/lib
    76.9   * @build   JavacTestingAbstractProcessor
   76.10   * @compile WError1.java
   76.11   * @compile -proc:only -processor WError1 WError1.java
    77.1 --- a/test/tools/javac/processing/werror/WErrorGen.java	Thu Dec 20 17:59:46 2012 +0000
    77.2 +++ b/test/tools/javac/processing/werror/WErrorGen.java	Fri Dec 21 08:45:43 2012 -0800
    77.3 @@ -24,7 +24,7 @@
    77.4  /*
    77.5   * @test 6403456
    77.6   * @summary -Werror should work with annotation processing
    77.7 - * @library ../../lib
    77.8 + * @library /tools/javac/lib
    77.9   * @build   JavacTestingAbstractProcessor
   77.10   * @compile WErrorGen.java
   77.11   * @compile -proc:only -processor WErrorGen WErrorGen.java
    78.1 --- a/test/tools/javac/processing/werror/WErrorLast.java	Thu Dec 20 17:59:46 2012 +0000
    78.2 +++ b/test/tools/javac/processing/werror/WErrorLast.java	Fri Dec 21 08:45:43 2012 -0800
    78.3 @@ -24,7 +24,7 @@
    78.4  /*
    78.5   * @test 6403456
    78.6   * @summary -Werror should work with annotation processing
    78.7 - * @library ../../lib
    78.8 + * @library /tools/javac/lib
    78.9   * @build   JavacTestingAbstractProcessor
   78.10   * @compile WErrorLast.java
   78.11   * @compile -proc:only -processor WErrorLast WErrorLast.java
    79.1 --- a/test/tools/javac/resolve/ResolveHarness.java	Thu Dec 20 17:59:46 2012 +0000
    79.2 +++ b/test/tools/javac/resolve/ResolveHarness.java	Fri Dec 21 08:45:43 2012 -0800
    79.3 @@ -25,7 +25,7 @@
    79.4   * @test
    79.5   * @bug 7098660
    79.6   * @summary Write better overload resolution/inference tests
    79.7 - * @library ../lib
    79.8 + * @library /tools/javac/lib
    79.9   * @build JavacTestingAbstractProcessor ResolveHarness
   79.10   * @run main ResolveHarness
   79.11   */
    80.1 --- a/test/tools/javac/util/T6597678.java	Thu Dec 20 17:59:46 2012 +0000
    80.2 +++ b/test/tools/javac/util/T6597678.java	Fri Dec 21 08:45:43 2012 -0800
    80.3 @@ -25,7 +25,7 @@
    80.4   * @test
    80.5   * @bug 6597678 6449184
    80.6   * @summary Ensure Messages propogated between rounds
    80.7 - * @library ../lib
    80.8 + * @library /tools/javac/lib
    80.9   * @build JavacTestingAbstractProcessor T6597678
   80.10   * @run main T6597678
   80.11   */
    81.1 --- a/test/tools/javac/util/context/T7021650.java	Thu Dec 20 17:59:46 2012 +0000
    81.2 +++ b/test/tools/javac/util/context/T7021650.java	Fri Dec 21 08:45:43 2012 -0800
    81.3 @@ -25,7 +25,7 @@
    81.4   * @test
    81.5   * @bug 7021650
    81.6   * @summary Fix Context issues
    81.7 - * @library ../../lib
    81.8 + * @library /tools/javac/lib
    81.9   * @build JavacTestingAbstractProcessor T7021650
   81.10   * @run main T7021650
   81.11   */

mercurial