2014-10-10 14:41:50 -07:00
|
|
|
/* @test /nodynamiccopyright/
|
2012-01-24 16:31:15 -08:00
|
|
|
* @bug 7129225
|
|
|
|
* @summary import xxx.* isn't handled correctly by annotation processing
|
2012-12-21 08:45:43 -08:00
|
|
|
* @library /tools/javac/lib
|
2012-01-25 12:20:05 -08:00
|
|
|
* @build JavacTestingAbstractProcessor
|
2014-10-10 14:41:50 -07:00
|
|
|
* @compile/fail/ref=NegTest.out -XDrawDiagnostics TestImportStar.java
|
2012-01-24 16:31:15 -08:00
|
|
|
* @compile Anno.java AnnoProcessor.java
|
2014-10-10 14:41:50 -07:00
|
|
|
* @compile/fail/ref=TestImportStar.out -XDrawDiagnostics -processor AnnoProcessor -proc:only TestImportStar.java
|
2012-01-24 16:31:15 -08: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 {
|
|
|
|
}
|