Wed, 08 Oct 2014 14:16:40 -0700
Merge
jlahoda@2553 | 1 | /** |
jlahoda@2553 | 2 | * @test /nodynamiccopyright/ |
jlahoda@2553 | 3 | * @bug 8033421 |
jlahoda@2553 | 4 | * @summary Check that \\@SuppressWarnings works properly when overriding deprecated method. |
jlahoda@2553 | 5 | * @build VerifySuppressWarnings |
jlahoda@2553 | 6 | * @compile/ref=Overridden.out -XDrawDiagnostics -Xlint:deprecation Overridden.java |
jlahoda@2553 | 7 | * @run main VerifySuppressWarnings Overridden.java |
jlahoda@2553 | 8 | */ |
jlahoda@2553 | 9 | |
jlahoda@2553 | 10 | public class Overridden implements Interface { |
jlahoda@2553 | 11 | public void test() { } |
jlahoda@2553 | 12 | } |
jlahoda@2553 | 13 | |
jlahoda@2553 | 14 | interface Interface { |
jlahoda@2553 | 15 | @Deprecated void test(); |
jlahoda@2553 | 16 | } |