Mercurial > hg > openjdk7.svn
view j2se/test/tools/javac/depOverrides/annotation/Test3.java @ 7:807dfe9c366c trunk
[svn] Load openjdk/jdk7/b19 into jdk/trunk.
author | xiomara |
---|---|
date | Fri, 31 Aug 2007 00:44:13 +0000 |
parents | a4ed3fb96592 |
children |
line wrap: on
line source
/* * @test /nodynamiccopyright/ * @bug 5086088 * @summary check warnings generated when overriding deprecated methods * * @compile/ref=Test3.out -XDstdout -XDrawDiagnostics -Xlint:deprecation Test3.java */ interface LibInterface { @Deprecated void m(); } class LibClass { public void m() { } } class Test3 extends LibClass implements LibInterface { }