JDK-8202947 : Fix minor issues with taglets
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-05-10
  • Updated: 2018-06-05
  • Resolved: 2018-05-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11 b16Fixed
Related Reports
Relates :  
Description
As part of the work to improve the spec for where tags can be used, a number of minor issues in TagletManager and related taglets have been identified.

Together, these suggest the following:

* Provide the ability to dump info about the known taglets and where they can be used
* {@value} should be allowed in MODULE
* @hidden, @treatAsPrivate should be allowed in CONSTRUCTOR
* change SimpleTaglet.locations to a Set<Location> instead of a simple String of characters
* change the first parameter of SimpleTaglet from String to DocTree.KInd
* move SimpleTaglet.locations to BaseTaglet, such that the inXyz methods can be defined in terms of the set, with no need for any overrides in any subtypes
* provide dummy taglets for the standard tags that are currently only known by their String names 
* add @uses @provides in list of standardTags
* review undocumented support for @factory