maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MJAVADOC-382) Javadoc fails with "reference not found" when using JDK8, but not with earlier JDK versions
Date Sat, 01 Dec 2018 16:47:00 GMT

     [ https://issues.apache.org/jira/browse/MJAVADOC-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte closed MJAVADOC-382.
-----------------------------------
    Resolution: Pending Closed
      Assignee: Robert Scholte

We're not using junit-3.8.1 anymore...

> 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
>          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
(v7.6.3#76005)

Mime
View raw message