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

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: specification
    • Labels:

      Description

      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."

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: