Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6481080 (ann) @Deprecated annotation has no effect on packages
  3. JDK-8068543

9.6.4.6: @Deprecated on a package declaration has no effect

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8
    • specification

      JLS 9.6.4.6 should clarify that "Use of the @Deprecated annotation on a local variable declaration or on a parameter declaration ***or on a package declaration*** has no effect."

            abuckley Alex Buckley
            abuckley Alex Buckley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: