Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-382

Javadoc fails with "reference not found" when using JDK8, but not with earlier JDK versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Pending Closed
    • None
    • None
    • None
    • None

    Description

      When having a reference to JUnit-3.8.1, it fails with a "reference not found".
      This is caused by the following code:

      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();
      }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              rfscholte Robert Scholte
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: