Details

    • Sub-task
    • Resolution: Fixed
    • P4
    • 9
    • None
    • core-libs
    • None
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: