Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8164836

TEST_BUG: adjust scope of the DefinedByAnalyzer in tools/all/RunCodingRules.java

XMLWordPrintable

    • b134

      The new jdeprscan tool includes some annotation processors, which implement various annotation processing interfaces for the purposes of callbacks. This caused the DefinedByAnalyzer to fail with errors of the following form:

      java.lang.AssertionError: C:\jenkins\workspace\9-dev\langtools\src\jdk.jdeps\share\classes\com\sun\tools\jdeprscan\LoadProc.java:71: error: This method implements a public API method, and should be marked with @DefinedBy.
          public void init(ProcessingEnvironment pe) {

      Instead of simply adding @DefinedBy to these uses, the scope of the DefinedByAnalyzer should be adjusted in some fashion.

            jlahoda Jan Lahoda
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: