Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
16 lines
253 B
Java
16 lines
253 B
Java
/*
|
|
* control test (2): verify that compiler handles at-deprecated correctly
|
|
* @test /nodynamiccopyright/
|
|
* @clean X DepX refX
|
|
* @compile/ref=DepX.out -XDrawDiagnostics DepX.java RefX.java
|
|
*/
|
|
class DepX
|
|
{
|
|
}
|
|
|
|
/**
|
|
* X.
|
|
* @deprecated
|
|
*/
|
|
class X {
|
|
}
|