jjh@1188: /* jjg@1521: * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. jjh@1188: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jjh@1188: * jjh@1188: * This code is free software; you can redistribute it and/or modify it jjh@1188: * under the terms of the GNU General Public License version 2 only, as jjh@1188: * published by the Free Software Foundation. Oracle designates this jjh@1188: * particular file as subject to the "Classpath" exception as provided jjh@1188: * by Oracle in the LICENSE file that accompanied this code. jjh@1188: * jjh@1188: * This code is distributed in the hope that it will be useful, but WITHOUT jjh@1188: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jjh@1188: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jjh@1188: * version 2 for more details (a copy is included in the LICENSE file that jjh@1188: * accompanied this code). jjh@1188: * jjh@1188: * You should have received a copy of the GNU General Public License version jjh@1188: * 2 along with this work; if not, write to the Free Software Foundation, jjh@1188: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jjh@1188: * jjh@1188: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA jjh@1188: * or visit www.oracle.com if you need additional information or have any jjh@1188: * questions. jjh@1188: */ jjh@1188: jjh@1188: /* @test jjh@1188: * @bug 7129225 jjh@1188: * @summary import xxx.* isn't handled correctly by annotation processing darcy@1466: * @library /tools/javac/lib jjh@1189: * @build JavacTestingAbstractProcessor jjh@1188: * @compile/fail/ref=NegTest.ref -XDrawDiagnostics TestImportStar.java jjh@1188: * @compile Anno.java AnnoProcessor.java jjg@1521: * @compile/fail/ref=TestImportStar.ref -XDrawDiagnostics -processor AnnoProcessor -proc:only TestImportStar.java jjh@1188: */ jjh@1188: jjh@1188: //The @compile/fail... verifies that the fix doesn't break the normal compilation of import xxx.* jjh@1188: //The @comple/ref... verifies the fix fixes the bug jjh@1188: jjh@1188: import xxx.*; jjh@1188: jjh@1188: @Anno jjh@1188: public class TestImportStar { jjh@1188: }