-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.2.0, 1.2.2, 1.3.0, 1.4.0
-
generic, x86, sparc
-
generic, solaris_2.5.1, solaris_2.6, windows_nt
java version "1.2.2"
Classic VM (build JDK-1.2.2.-001, native threads, symcjit)
References for the @link or @see lead to warnings in certain cases
and links are not created in the javadoc.
Bug 4183834 describes the same problems I encountered, the state
is fixed and closed for JDK 1.2.2 but the program below shows the
wrong behaviour is still there (Sparc & Windows NT).
package nl.virgil;
import java.lang.*;
import java.lang.Integer;
public class Test {
/**
* This {@link Math Math link} won't work, not even when it is fully
* qualified as this link {@link java.lang.Math} shows, even importing
* java.lang.* doesn't help.
* <p>
* The funny thing is that everything for a {@link String String link}
* seems to work.
* <p>
* You can get it working by importing all classes explicitly as you can
* see in this {@link Integer Integer link}.
*/
public Test() {
}
}
javac nl/virgil/Test.java
javadoc -link http://java.sun.com/products/jdk/1.2/docs/api nl.virgil
[The following request has been submitted as separate bug #4396665 -dkramer]
Also I would like to point you at the fact it is sometimes extremely
hard to find the java source code responsible for the warnings
generated by javadoc (overview.html, package.html). Warnings show
up at different places, many times they are caused by the same source.
If all warnings and errors showed the responsible file, life
would be easier:
javadoc: warning - Tag @link: Class or Package not found: Math Math link
(Review ID: 103623)
======================================================================
- duplicates
-
JDK-4395794 javadoc tool: javadoc isn't handling -linkoffline @links and @see correctly
- Closed
-
JDK-4186644 fails to find @link class unless variable of type is in implementa
- Closed
-
JDK-4279060 javadoc doesn't resolve "IllegalStateException" correctly
- Closed
-
JDK-4297039 JavaDoc {@link} tag works incorrectly with -link option
- Closed
-
JDK-4378499 javadoc: Want @see/@link alone to be sufficient ext ref for -link to create link
- Closed
- relates to
-
JDK-4183407 Spurious warnings when using @link if class has not been imported
- Resolved
-
JDK-4195820 Javadoc claims java.lang.Byte not found when used with {@link}
- Closed
-
JDK-4183834 javadoc tool: @see with -link to java.lang.Math does not work without import
- Closed