On 12/09/2015 04:51 PM, Mandy Chung wrote:
On Dec 9, 2015, at 1:43 PM, Sean Mullan <[email protected]> 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:
http://cr.openjdk.java.net/~mullan/webrevs/8144784/webrev.00/
--Sean