2014-10-10 21:41:50 +00:00
|
|
|
/* @test /nodynamiccopyright/
|
2012-01-25 00:31:15 +00:00
|
|
|
* @bug 7129225
|
|
|
|
* @summary import xxx.* isn't handled correctly by annotation processing
|
2012-12-21 16:45:43 +00:00
|
|
|
* @library /tools/javac/lib
|
2015-05-21 18:41:04 +00:00
|
|
|
* @modules java.compiler
|
|
|
|
* jdk.compiler
|
2012-01-25 20:20:05 +00:00
|
|
|
* @build JavacTestingAbstractProcessor
|
2014-10-10 21:41:50 +00:00
|
|
|
* @compile/fail/ref=NegTest.out -XDrawDiagnostics TestImportStar.java
|
2012-01-25 00:31:15 +00:00
|
|
|
* @compile Anno.java AnnoProcessor.java
|
2014-10-10 21:41:50 +00:00
|
|
|
* @compile/fail/ref=TestImportStar.out -XDrawDiagnostics -processor AnnoProcessor -proc:only TestImportStar.java
|
2012-01-25 00:31:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
//The @compile/fail... verifies that the fix doesn't break the normal compilation of import xxx.*
|
|
|
|
//The @comple/ref... verifies the fix fixes the bug
|
|
|
|
|
|
|
|
import xxx.*;
|
|
|
|
|
|
|
|
@Anno
|
|
|
|
public class TestImportStar {
|
|
|
|
}
|