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

javadoc fails to generate link to external method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.0
    • tools

      Name: bsT130419 Date: 09/26/2001

      [Submitter says in Customer Call info that he is using 1.3
         -- dkramer]

      Link to java.util.EventObject#getSource() not found.

      javadoc command (+ neighbours):

      PushD %jdksRoot%\%javaVersion%\docs\aWeinertBib

      Javadoc -author -version -protected -use -J-mx32m -J-ms32m -link ../api -link
      ../jDOM -link ../xalan -sourcepath \Weinert\javaFactory@\Weinert\javaFactory\DEawDoc.list

      java FuR api\ api/ .\+.html -r


      Code to be docomented (extract):

      public class HartEvent extends EventObject implements HartGem {

      /** Der ausl?sende Teilnehmer. <br />
       * <br />
       * Die Methode liefert die selbe Information wie
       * {@link java.util.EventObject#getSource() EventObject.getSource()},
       * allerdings ohne type cast gleich als
       * {@link DE.a_weinert.comExt.HartLoopMember HartLoopMember}.
       */
         public HartLoopMember getMember(){
            return (HartLoopMember) source;
         }


      error message: see description

      Using the above command on the above code excerpt
      generates the @link warning:

      Generating DE\a_weinert\comExt\HartEvent.html...
      D:\Weinert\javaFactory\DE\a_weinert\comExt\HartEvent.java:44: warning - Tag @lin
      k: Class or Package not found: java.util.EventObject#getSource() EventObject.get
      Source()
      Generating DE\a_weinert\comExt\HartHelper.html...
      Generating DE\a_weinert\comExt\HartLoop.html...
      Generating DE\a_weinert\comExt\HartLoopMember.html...
      Generating DE\a_weinert\comExt\HartLoopSerIOMember.html...
      Generating DE\a_weinert\comExt\HartTelegram.html...
      Generating DE\a_weinert\comExt\SerIO.html...
      Generating serialized-form.html...
      Generating package-list...
      Generating help-doc.html...
      Generating stylesheet.css...
      24 warnings

      The link to EventObject.getSource() is NOT generated.

      With all jdk 1.3.x javadocs all the above works well and no warnings or
      errors (instead of 24) are generated.
      (Review ID: 132528)
      ======================================================================

            Unassigned Unassigned
            bstrathesunw Bill Strathearn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: