Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b92

      Backports

        Description

        The fix for JDK-6481080 adds wording to the effect that the @Deprecated annotation on a variety of program elements "has no effect." The intent here is that @Deprecated in these locations does not have the effect of causing the compiler to emit warnings.

        This should be clarified. For packages, at least, @Deprecated on a package will cause the annotation to be compiled into the class and be made available at runtime, since @Deprecated has runtime retention.

        It may indeed be that @Deprected on a local variable or method parameter has no effect whatsoever. It might be worth clarifying that, too.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                darcy Joe Darcy
                Reporter:
                smarks Stuart Marks
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: