Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8065614 JEP 277: Enhanced Deprecation
  3. JDK-8145716

9.6.4.6: Clarify relationship of "enhanced" deprecation to traditional deprecation

XMLWordPrintable

      The @Deprecated annotation is covered in JLS 9.6.4.6:

      http://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.6.4.6

      Of particular note is the change proposed by JDK-8145471 to add a new "lint" category to handle warnings about for-removal deprecations. This JLS section mentions only @SuppressWarnings("deprecation"). It would need to be updated to mention this new category, or at least to allow for the possibility of a different string being necessary here.

            abuckley Alex Buckley
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: