jdk-24/test/langtools/tools/javac/depOverrides/doccomment/Test3.java

20 lines
374 B
Java
Raw Normal View History

2007-12-01 00:00:00 +00:00
/*
* @test /nodynamiccopyright/
* @bug 5086088
* @summary check warnings generated when overriding deprecated methods
*
* @compile/ref=Test3.out -XDrawDiagnostics -Xlint:deprecation Test3.java
2007-12-01 00:00:00 +00:00
*/
interface LibInterface {
/** @deprecated */
void m();
}
class LibClass {
public void m() { }
}
class Test3 extends LibClass implements LibInterface {
}