[ 
https://jira.codehaus.org/browse/MJAVADOC-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338484#comment-338484
 ] 

Robert Scholte commented on MJAVADOC-382:
-----------------------------------------

Current workaround is to add the following to the plugin:
{code:xml}
<excludePackageNames>junit.runner</excludePackageNames>
{code}
                
> Javadoc fails with "reference not found" when using JDK8, but not with 
> earlier JDK versions
> -------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-382
>                 URL: https://jira.codehaus.org/browse/MJAVADOC-382
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>            Reporter: Robert Scholte
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to