JDK 9 RFR of 6481080 : (ann) @Deprecated annotation has no effect on packages
Alan Bateman
Alan.Bateman at oracle.com
Wed Jan 7 08:31:23 UTC 2015
On 06/01/2015 23:12, joe darcy wrote:
> Hello,
>
> As part of cleaning up the deprecation facility in 9, please review
> this change to document when a @Deprecated annotation is a no-op:
>
> 6481080 : (ann) @Deprecated annotation has no effect on packages
> http://cr.openjdk.java.net/~darcy/6481080.0/
>
> Since the @Deprecated feature was added in 5, it was a no-op on local
> variables, parameters, and packages. The JLS documented the no-op
> situation for local variables and parameters; separately, Alex will
> handle updating the JLS in 9 to state packages are a no-op too.
>
> Patch to java.lang.Deprecated below; the patch also fixes a typo in
> the JLS section number.
>
This looks okay to me too.
-Alan
More information about the core-libs-dev
mailing list