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.

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

              Created:
              Updated:
              Resolved: