While these methods are going to be removed soon anyway, @Deprecated actually seems like the more appropriate choice because we do want to discourage use of these methods, even if they are non-public APIs.

Here it is with that change; please take a look:
http://cr.openjdk.java.net/~juh/8073430/02/

Thanks,
Jason

On 03/05/2015 09:32 PM, Wang Weijun wrote:
What is the policy for deprecating a non-public-API method?

On Mar 6, 2015, at 13:30, Wang Weijun <weijun.w...@oracle.com> wrote:

Instead of adding @SupressWarnings to a method, can we add @Deprecated to it?

Reply via email to