test/tools/javac/warnings/Deprecation.java

changeset 611
4172cfff05f0
parent 1
9a66ca7c79fa
child 2525
2eb010b6cb22
equal deleted inserted replaced
610:3640b60bd0f6 611:4172cfff05f0
1 /** 1 /**
2 * @test /nodynamiccopyright/ 2 * @test /nodynamiccopyright/
3 * @bug 4986256 3 * @bug 4986256
4 * @compile/ref=Deprecation.noLint.out -XDstdout -XDrawDiagnostics Deprecation.java 4 * @compile/ref=Deprecation.noLint.out -XDrawDiagnostics Deprecation.java
5 * @compile/ref=Deprecation.lintDeprecation.out -XDstdout -Xlint:deprecation -XDrawDiagnostics Deprecation.java 5 * @compile/ref=Deprecation.lintDeprecation.out -Xlint:deprecation -XDrawDiagnostics Deprecation.java
6 * @compile/ref=Deprecation.lintAll.out -XDstdout -Xlint:all,-path -XDrawDiagnostics Deprecation.java 6 * @compile/ref=Deprecation.lintAll.out -Xlint:all,-path -XDrawDiagnostics Deprecation.java
7 */ 7 */
8 8
9 @Deprecated 9 @Deprecated
10 class Deprecation 10 class Deprecation
11 { 11 {

mercurial