-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0
-
hopper
-
generic, x86
-
generic, linux, windows_nt, windows_2000
The -use option appears to produce grossly incomplete information. For example,
-use on the following produces a page for class JD that claims "No usage of jd.JD". In general there seems to be problems with finding uses in parameter types.
package jd;
public class JD {
public static class Bar {
public void foo(JD o) {
}
}
}
Name: rmT116609 Date: 02/22/2002
DESCRIPTION OF THE PROBLEM :
The "Use" page for a class in the documentation generated by javadoc does not list places where that class is used as an array type.
An example in the JDK1.4 API javadocs where I noticed this is for the class java.lang.StackTraceElement:
http://java.sun.com/j2se/1.4/docs/api/java/lang/StackTraceElement.html
If you click the Use link at the top of the page it will report that there are no uses of the class. This is not exactly true. If you go to the docs for
java.lang.Throwable.getStackTrace:
http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getStackTrace()
You will see that it is used in the API, it's just that it is used in the form of an array. As a user of the Javadocs, you would want the "Use" page to return uses as an array of that type as well.
(Review ID: 143203)
======================================================================
Name: rmT116609 Date: 03/15/2002
DESCRIPTION OF THE PROBLEM :
It appears that the class-use pages in the Javadoc- generated API documentation were not generated correctly.
For example, the class-use page for java.net.URLStreamHandler.html, in the documentation bundle at:
http://java.sun.com/j2se/1.4/docs/api/java/net/URLStreamHandler.html says:
No usage of java.net.URLStreamHandler
However, in class java.net.URLStreamHandlerFactory, method createURLStreamHandler(String) returns type URLStreamHandler.
(Review ID: 144245)
======================================================================
-use on the following produces a page for class JD that claims "No usage of jd.JD". In general there seems to be problems with finding uses in parameter types.
package jd;
public class JD {
public static class Bar {
public void foo(JD o) {
}
}
}
Name: rmT116609 Date: 02/22/2002
DESCRIPTION OF THE PROBLEM :
The "Use" page for a class in the documentation generated by javadoc does not list places where that class is used as an array type.
An example in the JDK1.4 API javadocs where I noticed this is for the class java.lang.StackTraceElement:
http://java.sun.com/j2se/1.4/docs/api/java/lang/StackTraceElement.html
If you click the Use link at the top of the page it will report that there are no uses of the class. This is not exactly true. If you go to the docs for
java.lang.Throwable.getStackTrace:
http://java.sun.com/j2se/1.4/docs/api/java/lang/Throwable.html#getStackTrace()
You will see that it is used in the API, it's just that it is used in the form of an array. As a user of the Javadocs, you would want the "Use" page to return uses as an array of that type as well.
(Review ID: 143203)
======================================================================
Name: rmT116609 Date: 03/15/2002
DESCRIPTION OF THE PROBLEM :
It appears that the class-use pages in the Javadoc- generated API documentation were not generated correctly.
For example, the class-use page for java.net.URLStreamHandler.html, in the documentation bundle at:
http://java.sun.com/j2se/1.4/docs/api/java/net/URLStreamHandler.html says:
No usage of java.net.URLStreamHandler
However, in class java.net.URLStreamHandlerFactory, method createURLStreamHandler(String) returns type URLStreamHandler.
(Review ID: 144245)
======================================================================
- duplicates
-
JDK-4640428 REGRESSION: JDK 1.4 API: java.sql.DatabaseMetaData "Use" is incorrect
-
- Closed
-
-
JDK-4615006 stdoclet: class-use pages are missing methods returning or taking the class
-
- Closed
-
-
JDK-4704312 Javadoc for JDK 1.4 missing many uses of classes
-
- Closed
-