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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • tools

      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.

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

              Created:
              Updated: