test/tools/javac/7129225/TestImportStar.java

changeset 1521
71f35e4b93a5
parent 1466
b52a38d4536c
child 2525
2eb010b6cb22
equal deleted inserted replaced
1520:5c956be64b9e 1521:71f35e4b93a5
1 /* 1 /*
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
28 * @summary import xxx.* isn't handled correctly by annotation processing 28 * @summary import xxx.* isn't handled correctly by annotation processing
29 * @library /tools/javac/lib 29 * @library /tools/javac/lib
30 * @build JavacTestingAbstractProcessor 30 * @build JavacTestingAbstractProcessor
31 * @compile/fail/ref=NegTest.ref -XDrawDiagnostics TestImportStar.java 31 * @compile/fail/ref=NegTest.ref -XDrawDiagnostics TestImportStar.java
32 * @compile Anno.java AnnoProcessor.java 32 * @compile Anno.java AnnoProcessor.java
33 * @compile/ref=TestImportStar.ref -XDrawDiagnostics -processor AnnoProcessor -proc:only TestImportStar.java 33 * @compile/fail/ref=TestImportStar.ref -XDrawDiagnostics -processor AnnoProcessor -proc:only TestImportStar.java
34 */ 34 */
35 35
36 //The @compile/fail... verifies that the fix doesn't break the normal compilation of import xxx.* 36 //The @compile/fail... verifies that the fix doesn't break the normal compilation of import xxx.*
37 //The @comple/ref... verifies the fix fixes the bug 37 //The @comple/ref... verifies the fix fixes the bug
38 38

mercurial