Suppressed warnings reported when implicit compilation is combined with annotation processing

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • 27
    • Affects Version/s: 26, 27
    • Component/s: tools
    • None

      Consider the attached test case. It fails with:
      ---
      ./src/test/Implicit.java:3: warning: [removal] Depr in test has been deprecated and marked for removal
      error: warnings found and -Werror specified
      1 error
      1 warning
      ---

      The warning is obviously wrong - there's no reference to `Depr` in `Implicit.java`; the warning is actually for the reference to `Depr` in `Use.java`, which is under `@SuppressWarnings("removal")`, and hence should be ignored.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: