test/tools/javac/annotations/neg/Dep.java

Print this page

        

*** 26,37 **** * @bug 4903501 * @summary Please add annotation <at>Deprecated to supplant the javadoc tag * @author gafter * * @compile -source 1.4 -Xlint:dep-ann -Werror Dep.java ! * @compile/fail -source 1.5 -Xlint:dep-ann -Werror Dep.java ! * @compile -source 1.5 -Xlint:dep-ann Dep.java */ /** @deprecated */ class Dep { } --- 26,37 ---- * @bug 4903501 * @summary Please add annotation <at>Deprecated to supplant the javadoc tag * @author gafter * * @compile -source 1.4 -Xlint:dep-ann -Werror Dep.java ! * @compile/fail -Xlint:dep-ann -Werror Dep.java ! * @compile -Xlint:dep-ann Dep.java */ /** @deprecated */ class Dep { }