mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8005282: Use @library tag with non-relative path for javac tests
Reviewed-by: jjg
This commit is contained in:
parent
e2bd09e6f6
commit
378571e10e
81 changed files with 81 additions and 81 deletions
|
@ -26,7 +26,7 @@
|
||||||
/* @test
|
/* @test
|
||||||
* @bug 7129225
|
* @bug 7129225
|
||||||
* @summary import xxx.* isn't handled correctly by annotation processing
|
* @summary import xxx.* isn't handled correctly by annotation processing
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile/fail/ref=NegTest.ref -XDrawDiagnostics TestImportStar.java
|
* @compile/fail/ref=NegTest.ref -XDrawDiagnostics TestImportStar.java
|
||||||
* @compile Anno.java AnnoProcessor.java
|
* @compile Anno.java AnnoProcessor.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 8002099
|
* @bug 8002099
|
||||||
* @summary Add support for intersection types in cast expression
|
* @summary Add support for intersection types in cast expression
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor ModelChecker
|
* @build JavacTestingAbstractProcessor ModelChecker
|
||||||
* @compile -XDallowIntersectionTypes -processor ModelChecker Model01.java
|
* @compile -XDallowIntersectionTypes -processor ModelChecker Model01.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7031108
|
* @bug 7031108
|
||||||
* @summary NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
|
* @summary NPE in javac.jvm.ClassReader.findMethod in PackageElement.enclosedElements from AP in incr build
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T7031108
|
* @build JavacTestingAbstractProcessor T7031108
|
||||||
* @run main T7031108
|
* @run main T7031108
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6350057 7025809
|
* @bug 6350057 7025809
|
||||||
* @summary Test that parameters on implicit enum methods have the right kind
|
* @summary Test that parameters on implicit enum methods have the right kind
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T6350057
|
* @build JavacTestingAbstractProcessor T6350057
|
||||||
* @compile -processor T6350057 -proc:only TestEnum.java
|
* @compile -processor T6350057 -proc:only TestEnum.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6424358 7025809
|
* @bug 6424358 7025809
|
||||||
* @summary Synthesized static enum method values() is final
|
* @summary Synthesized static enum method values() is final
|
||||||
* @author Peter von der Ah\u00e9
|
* @author Peter von der Ah\u00e9
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T6424358
|
* @build JavacTestingAbstractProcessor T6424358
|
||||||
* @compile -processor T6424358 -proc:only T6424358.java
|
* @compile -processor T6424358 -proc:only T6424358.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7018098
|
* @bug 7018098
|
||||||
* @summary CacheFSInfo persists too long
|
* @summary CacheFSInfo persists too long
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T7018098
|
* @build JavacTestingAbstractProcessor T7018098
|
||||||
* @run main T7018098
|
* @run main T7018098
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6993963 7025809
|
* @bug 6993963 7025809
|
||||||
* @summary Project Coin: Use precise exception analysis for effectively final catch parameters
|
* @summary Project Coin: Use precise exception analysis for effectively final catch parameters
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor ModelChecker
|
* @build JavacTestingAbstractProcessor ModelChecker
|
||||||
* @compile -processor ModelChecker Model01.java
|
* @compile -processor ModelChecker Model01.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7022337
|
* @bug 7022337
|
||||||
* @summary repeated warnings about bootclasspath not set
|
* @summary repeated warnings about bootclasspath not set
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T7022337
|
* @build JavacTestingAbstractProcessor T7022337
|
||||||
* @run main T7022337
|
* @run main T7022337
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6441871
|
* @bug 6441871
|
||||||
* @summary javac crashes at com.sun.tools.javac.jvm.ClassReader$BadClassFile
|
* @summary javac crashes at com.sun.tools.javac.jvm.ClassReader$BadClassFile
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor A
|
* @build JavacTestingAbstractProcessor A
|
||||||
* @run main T6348499
|
* @run main T6348499
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6359313
|
* @bug 6359313
|
||||||
* @summary error compiling annotated package
|
* @summary error compiling annotated package
|
||||||
* @author Peter von der Ah\u00e9
|
* @author Peter von der Ah\u00e9
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile T6359313.java
|
* @compile T6359313.java
|
||||||
* @compile -processor T6359313 package-info.java Foo.java
|
* @compile -processor T6359313 package-info.java Foo.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6365040 6358129
|
* @bug 6365040 6358129
|
||||||
* @summary Test -processor foo,bar,baz
|
* @summary Test -processor foo,bar,baz
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile ProcFoo.java
|
* @compile ProcFoo.java
|
||||||
* @compile ProcBar.java
|
* @compile ProcBar.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6413690 6380018
|
* @bug 6413690 6380018
|
||||||
* @summary JavacProcessingEnvironment does not enter trees from preceding rounds
|
* @summary JavacProcessingEnvironment does not enter trees from preceding rounds
|
||||||
* @author Peter von der Ah\u00e9
|
* @author Peter von der Ah\u00e9
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile T6413690.java
|
* @compile T6413690.java
|
||||||
* @compile -XDfatalEnterError -verbose -processor T6413690 src/Super.java TestMe.java
|
* @compile -XDfatalEnterError -verbose -processor T6413690 src/Super.java TestMe.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6414633 6440109
|
* @bug 6414633 6440109
|
||||||
* @summary Only the first processor message at a source location is reported
|
* @summary Only the first processor message at a source location is reported
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor A T6414633
|
* @build JavacTestingAbstractProcessor A T6414633
|
||||||
* @run main T6414633
|
* @run main T6414633
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6441871
|
* @bug 6441871
|
||||||
* @summary spurious compiler error elicited by packageElement.getEnclosedElements()
|
* @summary spurious compiler error elicited by packageElement.getEnclosedElements()
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor b6341534
|
* @build JavacTestingAbstractProcessor b6341534
|
||||||
* @run main T6430209
|
* @run main T6430209
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -32,7 +32,7 @@ import javax.tools.Diagnostic.Kind;
|
||||||
* @test
|
* @test
|
||||||
* @bug 6499119
|
* @bug 6499119
|
||||||
* @summary Created package-info class file modeled improperly
|
* @summary Created package-info class file modeled improperly
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile ClassProcessor.java package-info.java
|
* @compile ClassProcessor.java package-info.java
|
||||||
* @compile/process -cp . -processor ClassProcessor -Akind=java java.lang.Object
|
* @compile/process -cp . -processor ClassProcessor -Akind=java java.lang.Object
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6511613
|
* @bug 6511613
|
||||||
* @summary javac unexpectedly doesn't fail in some cases if an annotation processor specified
|
* @summary javac unexpectedly doesn't fail in some cases if an annotation processor specified
|
||||||
*
|
*
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor DummyProcessor
|
* @build JavacTestingAbstractProcessor DummyProcessor
|
||||||
* @compile/fail clss41701.java
|
* @compile/fail clss41701.java
|
||||||
* @compile/fail -processor DummyProcessor clss41701.java
|
* @compile/fail -processor DummyProcessor clss41701.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6512707
|
* @bug 6512707
|
||||||
* @summary "incompatible types" after (unrelated) annotation processing
|
* @summary "incompatible types" after (unrelated) annotation processing
|
||||||
* @author Peter Runge
|
* @author Peter Runge
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile T6512707.java
|
* @compile T6512707.java
|
||||||
* @compile -processor T6512707 TestAnnotation.java
|
* @compile -processor T6512707 TestAnnotation.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6634138
|
* @bug 6634138
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @summary Verify source files output after processing is over are compiled
|
* @summary Verify source files output after processing is over are compiled
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile T6634138.java
|
* @compile T6634138.java
|
||||||
* @compile -processor T6634138 Dummy.java
|
* @compile -processor T6634138 Dummy.java
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @test /nodynamiccopyright/
|
* @test /nodynamiccopyright/
|
||||||
* @bug 6994946
|
* @bug 6994946
|
||||||
* @summary option to specify only syntax errors as unrecoverable
|
* @summary option to specify only syntax errors as unrecoverable
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestProcessor
|
* @build JavacTestingAbstractProcessor TestProcessor
|
||||||
* @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics -processor TestProcessor SemanticErrorTest.java
|
* @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics -processor TestProcessor SemanticErrorTest.java
|
||||||
* @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java
|
* @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @test /nodynamiccopyright/
|
* @test /nodynamiccopyright/
|
||||||
* @bug 6994946
|
* @bug 6994946
|
||||||
* @summary option to specify only syntax errors as unrecoverable
|
* @summary option to specify only syntax errors as unrecoverable
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestProcessor
|
* @build JavacTestingAbstractProcessor TestProcessor
|
||||||
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -processor TestProcessor SyntaxErrorTest.java
|
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -processor TestProcessor SyntaxErrorTest.java
|
||||||
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SyntaxErrorTest.java
|
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SyntaxErrorTest.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6920317
|
* @bug 6920317
|
||||||
* @summary package-info.java file has to be specified on the javac cmdline, else it will not be avail
|
* @summary package-info.java file has to be specified on the javac cmdline, else it will not be avail
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7196462
|
* @bug 7196462
|
||||||
* @summary JavacProcessingEnvironment should tolerate BasicJavacTask
|
* @summary JavacProcessingEnvironment should tolerate BasicJavacTask
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T7196462
|
* @build JavacTestingAbstractProcessor T7196462
|
||||||
* @compile/process -processor T7196462 T7196462.java
|
* @compile/process -processor T7196462 T7196462.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7022337
|
* @bug 7022337
|
||||||
* @summary repeated warnings about bootclasspath not set
|
* @summary repeated warnings about bootclasspath not set
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestWarnErrorCount
|
* @build JavacTestingAbstractProcessor TestWarnErrorCount
|
||||||
* @run main TestWarnErrorCount
|
* @run main TestWarnErrorCount
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6402506
|
* @bug 6402506
|
||||||
* @summary Test that getSourceVersion works properly
|
* @summary Test that getSourceVersion works properly
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestSourceVersion.java
|
* @compile TestSourceVersion.java
|
||||||
* @compile -processor TestSourceVersion -proc:only -source 1.2 -AExpectedVersion=RELEASE_2 HelloWorld.java
|
* @compile -processor TestSourceVersion -proc:only -source 1.2 -AExpectedVersion=RELEASE_2 HelloWorld.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6988836
|
* @bug 6988836
|
||||||
* @summary A new JavacElements is created for each round of annotation processing
|
* @summary A new JavacElements is created for each round of annotation processing
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestContext
|
* @build JavacTestingAbstractProcessor TestContext
|
||||||
* @compile/process -processor TestContext -XprintRounds TestContext
|
* @compile/process -processor TestContext -XprintRounds TestContext
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6397298 6400986 6425592 6449798 6453386 6508401 6498938 6911854
|
* @bug 6397298 6400986 6425592 6449798 6453386 6508401 6498938 6911854
|
||||||
* @summary Tests that getElementsAnnotatedWith works properly.
|
* @summary Tests that getElementsAnnotatedWith works properly.
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestElementsAnnotatedWith.java
|
* @compile TestElementsAnnotatedWith.java
|
||||||
* @compile InheritedAnnotation.java
|
* @compile InheritedAnnotation.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6988079
|
* @bug 6988079
|
||||||
* @summary Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
|
* @summary Errors reported via Messager.printMessage(ERROR,"error message") are not tallied correctly
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestErrorCount
|
* @build JavacTestingAbstractProcessor TestErrorCount
|
||||||
* @compile/fail/ref=TestErrorCount.out -XDrawDiagnostics -processor TestErrorCount TestErrorCount.java
|
* @compile/fail/ref=TestErrorCount.out -XDrawDiagnostics -processor TestErrorCount TestErrorCount.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6403459
|
* @bug 6403459
|
||||||
* @summary Test that generating programs with syntax errors is a fatal condition
|
* @summary Test that generating programs with syntax errors is a fatal condition
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestReturnCode.java
|
* @compile TestReturnCode.java
|
||||||
* @compile TestFatalityOfParseErrors.java
|
* @compile TestFatalityOfParseErrors.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6406212
|
* @bug 6406212
|
||||||
* @summary Test that annotation processor options with illegal syntax are rejected
|
* @summary Test that annotation processor options with illegal syntax are rejected
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor CompileFail
|
* @build JavacTestingAbstractProcessor CompileFail
|
||||||
* @compile TestOptionSyntaxErrors.java
|
* @compile TestOptionSyntaxErrors.java
|
||||||
* @run main CompileFail CMDERR -A TestOptionSyntaxErrors.java
|
* @run main CompileFail CMDERR -A TestOptionSyntaxErrors.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6988407
|
* @bug 6988407
|
||||||
* @summary javac crashes running processor on errant code; it used to print error message
|
* @summary javac crashes running processor on errant code; it used to print error message
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestParseErrors
|
* @build JavacTestingAbstractProcessor TestParseErrors
|
||||||
* @compile/fail/ref=TestParseErrors.out -XDrawDiagnostics -proc:only -processor TestParseErrors ParseErrors.java
|
* @compile/fail/ref=TestParseErrors.out -XDrawDiagnostics -proc:only -processor TestParseErrors ParseErrors.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6403468
|
* @bug 6403468
|
||||||
* @summary Test that an erroneous return code results from raising an error.
|
* @summary Test that an erroneous return code results from raising an error.
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor CompileFail
|
* @build JavacTestingAbstractProcessor CompileFail
|
||||||
* @compile TestReturnCode.java
|
* @compile TestReturnCode.java
|
||||||
*
|
*
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6380018 6453386 6457283
|
* @bug 6380018 6453386 6457283
|
||||||
* @summary Test that the constraints guaranteed by the Filer and maintained
|
* @summary Test that the constraints guaranteed by the Filer and maintained
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build TestFilerConstraints
|
* @build TestFilerConstraints
|
||||||
* @compile -encoding iso-8859-1 -processor TestFilerConstraints -proc:only TestFilerConstraints.java
|
* @compile -encoding iso-8859-1 -processor TestFilerConstraints -proc:only TestFilerConstraints.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6380018 6449798
|
* @bug 6380018 6449798
|
||||||
* @summary Test Filer.getResource
|
* @summary Test Filer.getResource
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestGetResource
|
* @build JavacTestingAbstractProcessor TestGetResource
|
||||||
* @compile -processor TestGetResource -proc:only -Aphase=write TestGetResource.java
|
* @compile -processor TestGetResource -proc:only -Aphase=write TestGetResource.java
|
||||||
* @compile -processor TestGetResource -proc:only -Aphase=read TestGetResource.java
|
* @compile -processor TestGetResource -proc:only -Aphase=read TestGetResource.java
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/* @test
|
/* @test
|
||||||
* @bug 6929404
|
* @bug 6929404
|
||||||
* @summary Filer.getResource(SOURCE_PATH, ...) does not work when -sourcepath contains >1 entry
|
* @summary Filer.getResource(SOURCE_PATH, ...) does not work when -sourcepath contains >1 entry
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6502392
|
* @bug 6502392
|
||||||
* @summary Invalid relative names for Filer.createResource and Filer.getResource
|
* @summary Invalid relative names for Filer.createResource and Filer.getResource
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestInvalidRelativeNames.java
|
* @compile TestInvalidRelativeNames.java
|
||||||
* @compile/process -processor TestInvalidRelativeNames java.lang.Object
|
* @compile/process -processor TestInvalidRelativeNames java.lang.Object
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test 6966604
|
* @test 6966604
|
||||||
* @summary JavacFiler not correctly notified of lastRound
|
* @summary JavacFiler not correctly notified of lastRound
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestLastRound.java
|
* @compile TestLastRound.java
|
||||||
* @compile/fail/ref=TestLastRound.out -XDrawDiagnostics -Werror -proc:only -processor TestLastRound TestLastRound.java
|
* @compile/fail/ref=TestLastRound.out -XDrawDiagnostics -Werror -proc:only -processor TestLastRound TestLastRound.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6380018 6392177 6993311
|
* @bug 6380018 6392177 6993311
|
||||||
* @summary Test the ability to create and process package-info.java files
|
* @summary Test the ability to create and process package-info.java files
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestPackageInfo.java
|
* @compile TestPackageInfo.java
|
||||||
* @compile -processor TestPackageInfo -proc:only foo/bar/package-info.java TestPackageInfo.java
|
* @compile -processor TestPackageInfo -proc:only foo/bar/package-info.java TestPackageInfo.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6999891
|
* @bug 6999891
|
||||||
* @summary Test valid relative names for Filer.createResource and Filer.getResource
|
* @summary Test valid relative names for Filer.createResource and Filer.getResource
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestValidRelativeNames.java
|
* @compile TestValidRelativeNames.java
|
||||||
* @compile/process -processor TestValidRelativeNames -Amode=create java.lang.Object
|
* @compile/process -processor TestValidRelativeNames -Amode=create java.lang.Object
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @test /nodynamiccopyright/
|
* @test /nodynamiccopyright/
|
||||||
* @bug 6362067
|
* @bug 6362067
|
||||||
* @summary Messager methods do not print out source position information
|
* @summary Messager methods do not print out source position information
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T6362067
|
* @build JavacTestingAbstractProcessor T6362067
|
||||||
* @compile -processor T6362067 -proc:only T6362067.java
|
* @compile -processor T6362067 -proc:only T6362067.java
|
||||||
* @compile/ref=T6362067.out -XDrawDiagnostics -processor T6362067 -proc:only T6362067.java
|
* @compile/ref=T6362067.out -XDrawDiagnostics -processor T6362067 -proc:only T6362067.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6341173 6341072
|
* @bug 6341173 6341072
|
||||||
* @summary Test presence of Messager methods
|
* @summary Test presence of Messager methods
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile MessagerBasics.java
|
* @compile MessagerBasics.java
|
||||||
* @compile -processor MessagerBasics -proc:only MessagerBasics.java
|
* @compile -processor MessagerBasics -proc:only MessagerBasics.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6194785
|
* @bug 6194785
|
||||||
* @summary ParameterDeclaration.getSimpleName does not return actual name from class files
|
* @summary ParameterDeclaration.getSimpleName does not return actual name from class files
|
||||||
* @author Peter von der Ah\u00e9
|
* @author Peter von der Ah\u00e9
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile -g T6194785.java T6194785a.java
|
* @compile -g T6194785.java T6194785a.java
|
||||||
* @compile -processor T6194785 foo.T6194785a T6194785.java
|
* @compile -processor T6194785 foo.T6194785a T6194785.java
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
* @summary PackageElement.getEnclosedElements results in NullPointerException from parse(JavaCompiler.java:429)
|
* @summary PackageElement.getEnclosedElements results in NullPointerException from parse(JavaCompiler.java:429)
|
||||||
* @author Steve Sides
|
* @author Steve Sides
|
||||||
* @author Peter von der Ahe
|
* @author Peter von der Ahe
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile T6341534.java
|
* @compile T6341534.java
|
||||||
* @compile -proc:only -processor T6341534 dir/package-info.java
|
* @compile -proc:only -processor T6341534 dir/package-info.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6449781 6930508
|
* @bug 6449781 6930508
|
||||||
* @summary Test that reported names of anonymous classes are non-null.
|
* @summary Test that reported names of anonymous classes are non-null.
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestAnonSourceNames
|
* @build JavacTestingAbstractProcessor TestAnonSourceNames
|
||||||
* @compile -processor TestAnonSourceNames TestAnonClassNames.java
|
* @compile -processor TestAnonSourceNames TestAnonClassNames.java
|
||||||
* @run main TestAnonClassNames
|
* @run main TestAnonClassNames
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6453386
|
* @bug 6453386
|
||||||
* @summary Test basic properties of javax.lang.element.Element
|
* @summary Test basic properties of javax.lang.element.Element
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestElement
|
* @build JavacTestingAbstractProcessor TestElement
|
||||||
* @compile -processor TestElement -proc:only TestElement.java
|
* @compile -processor TestElement -proc:only TestElement.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645 7026414 7025809
|
* @bug 6639645 7026414 7025809
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestMissingElement
|
* @build JavacTestingAbstractProcessor TestMissingElement
|
||||||
* @compile -proc:only -XprintRounds -processor TestMissingElement InvalidSource.java
|
* @compile -proc:only -XprintRounds -processor TestMissingElement InvalidSource.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645
|
* @bug 6639645
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor Generator
|
* @build JavacTestingAbstractProcessor Generator
|
||||||
* @compile -XprintRounds -processor Generator TestMissingClass.java
|
* @compile -XprintRounds -processor Generator TestMissingClass.java
|
||||||
* @run main TestMissingClass
|
* @run main TestMissingClass
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645
|
* @bug 6639645
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @clean MissingGenericClass1
|
* @clean MissingGenericClass1
|
||||||
* @build JavacTestingAbstractProcessor Generator
|
* @build JavacTestingAbstractProcessor Generator
|
||||||
* @compile -XprintRounds -processor Generator TestMissingGenericClass1.java
|
* @compile -XprintRounds -processor Generator TestMissingGenericClass1.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645
|
* @bug 6639645
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @clean MissingGenericClass2
|
* @clean MissingGenericClass2
|
||||||
* @build JavacTestingAbstractProcessor Generator
|
* @build JavacTestingAbstractProcessor Generator
|
||||||
* @compile -XprintRounds -processor Generator TestMissingGenericClass2.java
|
* @compile -XprintRounds -processor Generator TestMissingGenericClass2.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645
|
* @bug 6639645
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @clean MissingGenericInterface1
|
* @clean MissingGenericInterface1
|
||||||
* @build JavacTestingAbstractProcessor Generator
|
* @build JavacTestingAbstractProcessor Generator
|
||||||
* @compile -XprintRounds -processor Generator TestMissingGenericInterface1.java
|
* @compile -XprintRounds -processor Generator TestMissingGenericInterface1.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645
|
* @bug 6639645
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @clean MissingGenericInterface2
|
* @clean MissingGenericInterface2
|
||||||
* @build JavacTestingAbstractProcessor Generator
|
* @build JavacTestingAbstractProcessor Generator
|
||||||
* @compile -XprintRounds -processor Generator TestMissingGenericInterface2.java
|
* @compile -XprintRounds -processor Generator TestMissingGenericInterface2.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6639645
|
* @bug 6639645
|
||||||
* @summary Modeling type implementing missing interfaces
|
* @summary Modeling type implementing missing interfaces
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor Generator
|
* @build JavacTestingAbstractProcessor Generator
|
||||||
* @compile -XprintRounds -processor Generator TestMissingInterface.java
|
* @compile -XprintRounds -processor Generator TestMissingInterface.java
|
||||||
* @run main TestMissingInterface
|
* @run main TestMissingInterface
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6380016
|
* @bug 6380016
|
||||||
* @summary Test that the constraints guaranteed by the Filer and maintained
|
* @summary Test that the constraints guaranteed by the Filer and maintained
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestNames
|
* @build JavacTestingAbstractProcessor TestNames
|
||||||
* @compile -processor TestNames -proc:only TestNames.java
|
* @compile -processor TestNames -proc:only TestNames.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6449798 6399404
|
* @bug 6449798 6399404
|
||||||
* @summary Test basic workings of PackageElement
|
* @summary Test basic workings of PackageElement
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestPackageElement
|
* @build JavacTestingAbstractProcessor TestPackageElement
|
||||||
* @compile -processor TestPackageElement -proc:only TestPackageElement.java
|
* @compile -processor TestPackageElement -proc:only TestPackageElement.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6967842
|
* @bug 6967842
|
||||||
* @summary Element not returned from tree API for ARM resource variables.
|
* @summary Element not returned from tree API for ARM resource variables.
|
||||||
* @author A. Sundararajan
|
* @author A. Sundararajan
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestResourceElement
|
* @build JavacTestingAbstractProcessor TestResourceElement
|
||||||
* @compile -processor TestResourceElement -proc:only TestResourceElement.java
|
* @compile -processor TestResourceElement -proc:only TestResourceElement.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6911256 6964740 6967842 6961571 7025809
|
* @bug 6911256 6964740 6967842 6961571 7025809
|
||||||
* @summary Test that the resource variable kind is appropriately set
|
* @summary Test that the resource variable kind is appropriately set
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestResourceVariable
|
* @build JavacTestingAbstractProcessor TestResourceVariable
|
||||||
* @compile -processor TestResourceVariable -proc:only TestResourceVariable.java
|
* @compile -processor TestResourceVariable -proc:only TestResourceVariable.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6505047
|
* @bug 6505047
|
||||||
* @summary javax.lang.model.element.Element.getEnclosingElement() doesn't return null for type parameter
|
* @summary javax.lang.model.element.Element.getEnclosingElement() doesn't return null for type parameter
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestTypeParameter
|
* @build JavacTestingAbstractProcessor TestTypeParameter
|
||||||
* @compile -processor TestTypeParameter -proc:only TestTypeParameter.java
|
* @compile -processor TestTypeParameter -proc:only TestTypeParameter.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6423972
|
* @bug 6423972
|
||||||
* @summary Tests TypeParameter.getBounds.
|
* @summary Tests TypeParameter.getBounds.
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TypeParamBounds
|
* @build JavacTestingAbstractProcessor TypeParamBounds
|
||||||
* @compile -processor TypeParamBounds -proc:only TypeParamBounds.java
|
* @compile -processor TypeParamBounds -proc:only TypeParamBounds.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6362178
|
* @bug 6362178
|
||||||
* @summary MirroredType[s]Exception shouldn't be created too eagerly
|
* @summary MirroredType[s]Exception shouldn't be created too eagerly
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile -g OverEager.java
|
* @compile -g OverEager.java
|
||||||
* @compile -processor OverEager -proc:only OverEager.java
|
* @compile -processor OverEager -proc:only OverEager.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6519115
|
* @bug 6519115
|
||||||
* @summary Verify MirroredTypeException vs MirroredTypesException is thrown
|
* @summary Verify MirroredTypeException vs MirroredTypesException is thrown
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile Plurality.java
|
* @compile Plurality.java
|
||||||
* @compile -processor Plurality -proc:only Plurality.java
|
* @compile -processor Plurality -proc:only Plurality.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6418666 6423973 6453386 7025809
|
* @bug 6418666 6423973 6453386 7025809
|
||||||
* @summary Test the NoTypes: VOID, PACKAGE, NONE
|
* @summary Test the NoTypes: VOID, PACKAGE, NONE
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile -g NoTypes.java
|
* @compile -g NoTypes.java
|
||||||
* @compile -processor NoTypes -proc:only NoTypes.java
|
* @compile -processor NoTypes -proc:only NoTypes.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7029150 7025809
|
* @bug 7029150 7025809
|
||||||
* @summary Test support for union types
|
* @summary Test support for union types
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6346251
|
* @bug 6346251
|
||||||
* @summary Test Elements.getBinaryName
|
* @summary Test Elements.getBinaryName
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor BinaryName
|
* @build JavacTestingAbstractProcessor BinaryName
|
||||||
* @compile -processor BinaryName -proc:only BinaryName.java
|
* @compile -processor BinaryName -proc:only BinaryName.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6346506 6408241
|
* @bug 6346506 6408241
|
||||||
* @summary getTypeElement should tolerate a type that can't be found
|
* @summary getTypeElement should tolerate a type that can't be found
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor GetTypeElemBadArg
|
* @build JavacTestingAbstractProcessor GetTypeElemBadArg
|
||||||
* @compile -processor GetTypeElemBadArg -proc:only GetTypeElemBadArg.java
|
* @compile -processor GetTypeElemBadArg -proc:only GetTypeElemBadArg.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6346453
|
* @bug 6346453
|
||||||
* @summary directSupertypes should return empty list if arg has no supertypes
|
* @summary directSupertypes should return empty list if arg has no supertypes
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor NoSupers
|
* @build JavacTestingAbstractProcessor NoSupers
|
||||||
* @compile -processor NoSupers -proc:only NoSupers.java
|
* @compile -processor NoSupers -proc:only NoSupers.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6453386
|
* @bug 6453386
|
||||||
* @summary Verify that example code in Elements.overrides works as spec'ed.
|
* @summary Verify that example code in Elements.overrides works as spec'ed.
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile -g OverridesSpecEx.java
|
* @compile -g OverridesSpecEx.java
|
||||||
* @compile -processor OverridesSpecEx -proc:only OverridesSpecEx.java
|
* @compile -processor OverridesSpecEx -proc:only OverridesSpecEx.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6345812
|
* @bug 6345812
|
||||||
* @summary Validate argument kinds in Types utilities
|
* @summary Validate argument kinds in Types utilities
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TypesBadArg
|
* @build JavacTestingAbstractProcessor TypesBadArg
|
||||||
* @compile -processor TypesBadArg -proc:only TypesBadArg.java
|
* @compile -processor TypesBadArg -proc:only TypesBadArg.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6392818
|
* @bug 6392818
|
||||||
* @summary Tests Elements.isDeprecated(Element)
|
* @summary Tests Elements.isDeprecated(Element)
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestDeprecation.java
|
* @compile TestDeprecation.java
|
||||||
* @compile -processor TestDeprecation -proc:only Dep1.java
|
* @compile -processor TestDeprecation -proc:only Dep1.java
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6346973
|
* @bug 6346973
|
||||||
* @summary directSupertypes(t) should not return t
|
* @summary directSupertypes(t) should not return t
|
||||||
* @author Scott Seligman
|
* @author Scott Seligman
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor DirectSupersOfErr
|
* @build JavacTestingAbstractProcessor DirectSupersOfErr
|
||||||
* @compile -processor DirectSupersOfErr -proc:only C1.java
|
* @compile -processor DirectSupersOfErr -proc:only C1.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6471577 6517779
|
* @bug 6471577 6517779
|
||||||
* @summary Test Elements.getConstantExpression
|
* @summary Test Elements.getConstantExpression
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestGetConstantExpression
|
* @build JavacTestingAbstractProcessor TestGetConstantExpression
|
||||||
* @compile -processor TestGetConstantExpression Foo.java
|
* @compile -processor TestGetConstantExpression Foo.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6453386
|
* @bug 6453386
|
||||||
* @summary Test Elements.getPackageOf
|
* @summary Test Elements.getPackageOf
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestGetPackageOf
|
* @build JavacTestingAbstractProcessor TestGetPackageOf
|
||||||
* @compile -processor TestGetPackageOf -proc:only TestGetPackageOf.java
|
* @compile -processor TestGetPackageOf -proc:only TestGetPackageOf.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 6406164
|
* @bug 6406164
|
||||||
* @summary Test that ElementFilter iterable methods behave properly.
|
* @summary Test that ElementFilter iterable methods behave properly.
|
||||||
* @author Joseph D. Darcy
|
* @author Joseph D. Darcy
|
||||||
* @library ../../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile TestIterables.java
|
* @compile TestIterables.java
|
||||||
* @compile -processor TestIterables -proc:only Foo1.java
|
* @compile -processor TestIterables -proc:only Foo1.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6930508
|
* @bug 6930508
|
||||||
* @summary Passing nested class names on javac command line interfere with subsequent name -> class lookup
|
* @summary Passing nested class names on javac command line interfere with subsequent name -> class lookup
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor p.NestedExamples Test
|
* @build JavacTestingAbstractProcessor p.NestedExamples Test
|
||||||
* @run main Test
|
* @run main Test
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6987384
|
* @bug 6987384
|
||||||
* @summary -XprintProcessorRoundsInfo message printed with different timing than previous
|
* @summary -XprintProcessorRoundsInfo message printed with different timing than previous
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor Test
|
* @build JavacTestingAbstractProcessor Test
|
||||||
* @compile/fail/ref=Test.out -XDrawDiagnostics -XprintProcessorInfo -Werror -proc:only -processor Test Test.java
|
* @compile/fail/ref=Test.out -XDrawDiagnostics -XprintProcessorInfo -Werror -proc:only -processor Test Test.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6987384
|
* @bug 6987384
|
||||||
* @summary -XprintProcessorRoundsInfo message printed with different timing than previous
|
* @summary -XprintProcessorRoundsInfo message printed with different timing than previous
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor Test TestWithXstdout
|
* @build JavacTestingAbstractProcessor Test TestWithXstdout
|
||||||
* @run main TestWithXstdout
|
* @run main TestWithXstdout
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6986892
|
* @bug 6986892
|
||||||
* @summary confusing warning given after errors in annotation processing
|
* @summary confusing warning given after errors in annotation processing
|
||||||
* @library ../../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor TestProcUseImplicitWarning
|
* @build JavacTestingAbstractProcessor TestProcUseImplicitWarning
|
||||||
* @clean C1 p.C2
|
* @clean C1 p.C2
|
||||||
* @compile/fail/ref=err.out -XDrawDiagnostics -processor TestProcUseImplicitWarning -Aerror C1.java
|
* @compile/fail/ref=err.out -XDrawDiagnostics -processor TestProcUseImplicitWarning -Aerror C1.java
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test 6403456
|
* @test 6403456
|
||||||
* @summary -Werror should work with annotation processing
|
* @summary -Werror should work with annotation processing
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile WError1.java
|
* @compile WError1.java
|
||||||
* @compile -proc:only -processor WError1 WError1.java
|
* @compile -proc:only -processor WError1 WError1.java
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test 6403456
|
* @test 6403456
|
||||||
* @summary -Werror should work with annotation processing
|
* @summary -Werror should work with annotation processing
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile WErrorGen.java
|
* @compile WErrorGen.java
|
||||||
* @compile -proc:only -processor WErrorGen WErrorGen.java
|
* @compile -proc:only -processor WErrorGen WErrorGen.java
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test 6403456
|
* @test 6403456
|
||||||
* @summary -Werror should work with annotation processing
|
* @summary -Werror should work with annotation processing
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor
|
* @build JavacTestingAbstractProcessor
|
||||||
* @compile WErrorLast.java
|
* @compile WErrorLast.java
|
||||||
* @compile -proc:only -processor WErrorLast WErrorLast.java
|
* @compile -proc:only -processor WErrorLast WErrorLast.java
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7098660
|
* @bug 7098660
|
||||||
* @summary Write better overload resolution/inference tests
|
* @summary Write better overload resolution/inference tests
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor ResolveHarness
|
* @build JavacTestingAbstractProcessor ResolveHarness
|
||||||
* @run main ResolveHarness
|
* @run main ResolveHarness
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 6597678 6449184
|
* @bug 6597678 6449184
|
||||||
* @summary Ensure Messages propogated between rounds
|
* @summary Ensure Messages propogated between rounds
|
||||||
* @library ../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T6597678
|
* @build JavacTestingAbstractProcessor T6597678
|
||||||
* @run main T6597678
|
* @run main T6597678
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
* @test
|
* @test
|
||||||
* @bug 7021650
|
* @bug 7021650
|
||||||
* @summary Fix Context issues
|
* @summary Fix Context issues
|
||||||
* @library ../../lib
|
* @library /tools/javac/lib
|
||||||
* @build JavacTestingAbstractProcessor T7021650
|
* @build JavacTestingAbstractProcessor T7021650
|
||||||
* @run main T7021650
|
* @run main T7021650
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue