langtools/test/tools/javac/processing/model/element/TestMissingElement/TestMissingElement.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 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. |
7 * published by the Free Software Foundation. |
26 * @test |
26 * @test |
27 * @bug 6639645 7026414 7025809 |
27 * @bug 6639645 7026414 7025809 |
28 * @summary Modeling type implementing missing interfaces |
28 * @summary Modeling type implementing missing interfaces |
29 * @library /tools/javac/lib |
29 * @library /tools/javac/lib |
30 * @build JavacTestingAbstractProcessor TestMissingElement |
30 * @build JavacTestingAbstractProcessor TestMissingElement |
31 * @compile -proc:only -XprintRounds -processor TestMissingElement InvalidSource.java |
31 * @compile/fail/ref=TestMissingElement.ref -proc:only -XprintRounds -XDrawDiagnostics -processor TestMissingElement InvalidSource.java |
32 */ |
32 */ |
33 |
33 |
34 import java.util.*; |
34 import java.util.*; |
35 import javax.annotation.processing.*; |
35 import javax.annotation.processing.*; |
36 import javax.lang.model.element.*; |
36 import javax.lang.model.element.*; |