Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8068626

Add javac lint warning when the @Deprecated annotation is used where it is a no-op

XMLWordPrintable

    • b132
    • Verified

      While the @Deprecated annotation can be applied most everywhere, there are several uses of it that are specified as being no-ops (JDK-6481080):

      * parameters
      * local variables
      * package declarations

      It could be helpful if javac's -Xlint:deprecation warning including a warning for no-op uses of @Deprecated.

            sadayapalam Srikanth Adayapalam (Inactive)
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: