Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4530949
Votes 0
Synopsis Broken links to java.lang in in "Overrides" should not exist
Category customdoclets:mifdoclet
Reported Against 1.2beta1
Release Fixed 1.2beta2
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 24-NOV-2001
Description
When running the MIF doclet on the Doclet API, it generates a link to
java.lang.Comparable and java.lang.Object, which is broken.  For example,
in com.sun.javadoc.Doc.compareTo(Object) in the PDF page 16 (printed folio 12):

Overrides: compareTo in interface java.lang.Comparable
                                  ^^^^^^^^^^^^^^^^^^^^
                                  this is a broken link 

This link should not exist -- it should just be plain text (black, not blue),
because neither -link nor -linkoffline are included in the command.

Here's the script to run it: 

/usr/local/java/jdk1.3/solaris/bin/javadoc \ 
-doclet com.sun.tools.doclets.mif.MIFDoclet \ 
-docletpath /java/pubs/mifdoclet/latest/mifdoclet.jar \ 
-J-Xmx50M \ 
-batch fmbatch \ 
-print pdf  \ 
-d docs-brokenlink \ 
-sourcepath /java/pubs/ws/dkramer-hopper/src/share/classes/ \ 
com.sun.javadoc 

Source: /home/dkramer/javadoc/mifdoclet/1.2/bug-4530949-brokenlink/runmif-brokenlink

FYI, I tried this with bootclasspath set to empty (-bootclasspath "") but that 
didn't help.
Work Around
N/A
Evaluation
Tested with latest build as of Jamie's departure (rebuilt by Doug on Nov 23)
  xxxxx@xxxxx   2001-11-23

When running it today, the link is gone (but the text remains), so this bug
appears to be fixed.
  xxxxx@xxxxx   2002-03-19

Yes, I remember fixing and integrating bug 4530949 in
October.  I don't remember receiving a bug number
though.  I think this bug was given to me by e-mail. 
Please make this bug as integrated in bugtraq.

  xxxxx@xxxxx    2002-03-19
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang