JDK-8213957 : indexed items in package files use simple name instead of qualified name
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2018-11-15
  • Updated: 2019-12-03
  • Resolved: 2019-12-03
Related Reports
Relates :  
Description
If you put {@index} in package-info.java or doc-files/*.html, the index holder is set to the simple name of the package instead of the fully qualified name.

This is confusing; it would be more consistent to use the fully qualified name.
Comments
Closing as I can't reproduce this. I uploaded two screenshots that show "java.net" as holder for the "http.agent" system property defined in package doc-files, and "java.util" as holder for "Java Collections Framework" tag defined in java.util package overview file. I'm opening a new issue for the related bug mentioned in previous comment.
03-12-2019

Index items in package level files already use the fully qualified package name, e.g. "Java Collections Framework" shows "java.util" as holder, which is what I'd expect. However, with the fix for JDK-8233874 applied it is possible to have index items at the module level, and doing so shows "unnamed package" as holder. I think this should be the module name.
18-11-2019