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.
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.