Please review an enhancement that adds a new default `toString` method to the 
`jdk.javadoc.doclet.Taglet` interface which receives the path to the 
documentation root directory as additional argument. 

This makes it possible to create correct relative URLs when a tag is rendered 
outside of its element's resource (such as in a summary page), which was 
previously impossible using the public Taglet API. It also makes it easier to 
build relative URLs in the common case where a tag is rendered in its element's 
normal location.

-------------

Commit messages:
 - Add test
 - JDK-8373922: Enhance Taglet API to support relative URLs

Changes: https://git.openjdk.org/jdk/pull/30120/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30120&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373922
  Stats: 243 lines in 3 files changed: 234 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/30120.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30120/head:pull/30120

PR: https://git.openjdk.org/jdk/pull/30120

Reply via email to