-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javadoc: Explicit link to package without package-info.java does not work #1579
Comments
hello, i tried to write a comment on a method. /**
* 通过反射创建新的实例。
* 如果想通过反射创建新的实例,在jdk9之后,使用{@link Constructor#newInstance(Object...) newInstance}来创建
*
* and redirect to {@link java.lang.Object}, and to {@link java.lang}
*/
public void createNewInstance() {
} run command line :
open method's javadoc in browser: link can redirect as expected whether it's class member or package reference, but eclipse java editor can't give a hyperlink on a package reference, class member reference works. Reference
|
exactly, that's what this issue is about. |
Found during #1472: within javadoc an explicit link to a package only works when
package-info.java
exists. Implicit links "work", though.The link
{@link java.util}
does not navigate anywhere.Navigating first to
java.util.List
shows the qualified name whose segmentutil
lets me navigate to the package (albeit signaling "Note: The Javadoc for this element could neither be found in the attached source nor the attached Javadoc.").In https://openjdk.org/jeps/467, however, I learned that such package links should work.
The text was updated successfully, but these errors were encountered: