[
https://issues.apache.org/jira/browse/MJAVADOC-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957747#comment-17957747
]
Olivier Lamy commented on MJAVADOC-382:
---------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-javadoc-plugin#689|https://github.com/apache/maven-javadoc-plugin/issues/689].
> Javadoc fails with "reference not found" when using JDK8, but not with
> earlier JDK versions
> -------------------------------------------------------------------------------------------
>
> Key: MJAVADOC-382
> URL: https://issues.apache.org/jira/browse/MJAVADOC-382
> Project: Maven Javadoc Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Reporter: Robert Scholte
> Assignee: Robert Scholte
> Priority: Major
>
> When having a reference to JUnit-3.8.1, it fails with a "reference not found".
> This is caused by the following code:
> {code:title=junit.runner.TestCollector}
> package junit.runner;
> import java.util.*;
> /**
> * Collects Test class names to be presented
> * by the TestSelector.
> * @see TestSelector
> */
> public interface TestCollector {
> /**
> * Returns an enumeration of Strings with qualified class names
> */
> public Enumeration collectTests();
> }
> {code}
> The class {{TestSelector}} doesn't exist, so it is actually a valid
> error/warning. However, this is not our code, so we can't change it.
> JDK7 warns but JDK8 fails with an error.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)