JDK 9 RFR of JDK-8141359: @Deprecated on packages should be clarified

joe darcy joe.darcy at oracle.com
Wed Nov 4 02:48:54 UTC 2015


Hello,

Please review the short patch below to address

     JDK-8141359: @Deprecated on packages should be clarified

--- a/src/java.base/share/classes/java/lang/Deprecated.java    Tue Nov 
03 17:41:38 2015 -0800
+++ b/src/java.base/share/classes/java/lang/Deprecated.java    Tue Nov 
03 18:47:38 2015 -0800
@@ -36,7 +36,7 @@
   *
   * <p>Use of the @Deprecated annotation on a local variable
   * declaration or on a parameter declaration or a package declaration
- * has no effect.
+ * has no effect on the warnings issued by a compiler.
   *
   * @author  Neal Gafter
   * @since 1.5

Thanks,

-Joe



More information about the core-libs-dev mailing list