RFR: Remove @Deprecated annotation from java.security.acl and javax.security.cert packages
Mandy Chung
mandy.chung at oracle.com
Wed Dec 9 21:51:02 UTC 2015
> 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.
Mandy
More information about the security-dev
mailing list