Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4186644

fails to find @link class unless variable of type is in implementa

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • generic, sparc
    • generic, solaris_2.5.1

      Name: dk30142 Date: 11/02/98

      When @link (or @see) refers to a class that is not used in the
      implementation, javadoc cannot find it.

      The following test case describes the problem.

      -------------------------
      import com.sun.java.swing.*;

      /**
      * {@link JSplitPane}
      * javadoc -link file:$JDKHOME/docs/api Test.java
      */
      public class Test
      {
         // When the "JSplitPane" line below is present, javadoc runs without error
         // or warning. When the line is commented out, it says:
         // javadoc: warning - Class or Package not found, in @see tag: JSplitPane

         public JSplitPane p;
      }
      -----------------------------
      (Review ID: 41692)
      ======================================================================

            gafter Neal Gafter (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: