RFR: 8373909: JSpec and ToolGuide taglets use incorrect relative path

Dan Smith dlsmith at openjdk.org
Wed Dec 17 20:19:51 UTC 2025


On Wed, 17 Dec 2025 20:09:44 GMT, Dan Smith <dlsmith at openjdk.org> wrote:

> Fixing the JSpec and ToolGuide taglets so that they produce correct links, no matter what file the tag appears in.
> 
> This is a workaround solution, sharing the necessary info via a ThreadLocal public static field in an internal API. See [JDK-8373922](https://bugs.openjdk.org/browse/JDK-8373922) for an API enhancement request that would make this possible without relying on internal API.

Planning to integrate this into 27 and create a backport to 26

The relevant test is jdk/javadoc/doccheck/checks/jdkCheckLinks.java, which is currently problem-listed and will be turned back on via [JDK-8370249](https://bugs.openjdk.org/browse/JDK-8370249). It fails before this fix, passes afterwards (when I take it off the problem list).

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

PR Comment: https://git.openjdk.org/jdk/pull/28878#issuecomment-3666990146
PR Comment: https://git.openjdk.org/jdk/pull/28878#issuecomment-3666997982


More information about the build-dev mailing list