RFR: 8145461 changes to @Deprecated annotation

Chris Hegarty chris.hegarty at oracle.com
Fri Apr 1 12:40:53 UTC 2016


On 01/04/16 06:56, Stuart Marks wrote:
>...
>
> So, a compound word seems necessary. After kicking around "toBeRemoved"
> or "subjectToRemoval" I've come back around to David's suggestion here
> of "forRemoval". It seems a bit odd when considered by itself, but in
> actual usage it reads pretty well:
>
>      @Deprecated(since="9", forRemoval=true)
>      public void foo() { ... }
>
>
>
> For example, one say "The foo() method has been deprecated for removal."
>
> Here's an updated webrev with the rename, as well as other edits in
> response to feedback:
>
> http://cr.openjdk.java.net/~smarks/reviews/8145461/webrev.1/

Looks fine.

-Chris.


More information about the jdk9-dev mailing list