[9] RFR: 8073430: Deprecate security APIs that have been superseded

Jason Uh jason.uh at oracle.com
Sat Mar 7 05:05:03 UTC 2015


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.wang at oracle.com> wrote:
>>
>> Instead of adding @SupressWarnings to a method, can we add @Deprecated to it?
>



More information about the security-dev mailing list