Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160203 Umbrella: enhancements to the deprecation mechanism
  3. JDK-8161889

(jdeprscan) don't warn for uses that occur within the same top-level type as deprecation

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:

      Description

      JLS 9.6.4.6 says that no warning is emitted if the use of a deprecated element occurs within the same top-level type as that element.

      JDeprScan doesn't currently do this analysis. It seems to have enough information to do so, and this would cut down on some noise. A test case should be added for this as well.

        Attachments

          Activity

            People

            • Assignee:
              smarks Stuart Marks
              Reporter:
              smarks Stuart Marks
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: