RFR: Remove @Deprecated annotation from java.security.acl and javax.security.cert packages

Sean Mullan sean.mullan at oracle.com
Thu Dec 10 15:53:38 UTC 2015

On 12/09/2015 04:51 PM, Mandy Chung wrote:
>> On Dec 9, 2015, at 1:43 PM, Sean Mullan <sean.mullan at oracle.com> wrote:
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8144784
>> The @Deprecated annotation on a package is a no-op in terms of affecting the set of deprecation warnings the compiler produces. This has been clarified in the JLS and specification for java.lang.Deprecated in 9.
>> Thus, we should remove the @Deprecated annotations from the packages since they are not providing any value.
> All classes in these two packages have @Deprecated. Removing @Deprecated from package-info.java is okay.

Max asked me to add the com.sun.jarsigner package to this bug, which 
also has an unnecessary @Deprecated annotation. I also made a few tweaks 
to the deprecation wording here and there, so a webrev is probably 
easier to review than diffs now:



More information about the security-dev mailing list