You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2014/01/12 17:14:04 UTC

[jira] (MJAVADOC-382) Javadoc fails with "reference not found" when using JDK8, but not with earlier JDK versions

Robert Scholte created MJAVADOC-382:
---------------------------------------

             Summary: 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