jjg@504: /* ohair@554: * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. jjg@504: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jjg@504: * jjg@504: * This code is free software; you can redistribute it and/or modify it jjg@504: * under the terms of the GNU General Public License version 2 only, as jjg@504: * published by the Free Software Foundation. jjg@504: * jjg@504: * This code is distributed in the hope that it will be useful, but WITHOUT jjg@504: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jjg@504: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jjg@504: * version 2 for more details (a copy is included in the LICENSE file that jjg@504: * accompanied this code). jjg@504: * jjg@504: * You should have received a copy of the GNU General Public License version jjg@504: * 2 along with this work; if not, write to the Free Software Foundation, jjg@504: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jjg@504: * ohair@554: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@554: * or visit www.oracle.com if you need additional information or have any ohair@554: * questions. jjg@504: */ jjg@504: jjg@504: /* jjg@504: * @test jjg@504: * @bug 6511613 jjg@504: * @summary javac unexpectedly doesn't fail in some cases if an annotation processor specified jjg@504: * darcy@1466: * @library /tools/javac/lib darcy@699: * @build JavacTestingAbstractProcessor DummyProcessor jjg@504: * @compile/fail clss41701.java jjg@504: * @compile/fail -processor DummyProcessor clss41701.java jjg@504: */ jjg@504: jjg@504: import java.io.PrintStream; jjg@504: jjg@504: interface clss41701i { jjg@504: void run(); jjg@504: } jjg@504: jjg@504: class clss41701a { jjg@504: }