On Sun, 25 Jan 2026 19:06:26 GMT, Chen Liang <[email protected]> wrote:

> We can enhance the `@jls` and `@jvms` tags in-place to support preview 
> JLS/JVMS, such as in this PR:
> 
> 
> @jls primitive-types-in-patterns-instanceof-switch-5.7.1 Exact Testing 
> Conversions
> 
> 
> Taglet now parses "primitive-types-in-patterns-instanceof-switch-" preview 
> and links to `primitive-types-in-patterns-instanceof-switch-jls.html` where 
> the 5.7.1 anchor exists.
> 
> As a side effect, I adjusted the output to remove the preview prefix, and 
> discovered we can embellish the output more, in particular, including a 
> section sign for inline tags and including a trailing dot for block tags.
> 
> I need this feature in project Valhalla, where there are JLS and JVMS for 
> value-objects and strict-fields that we need to link to. Please help review!

This pull request has now been integrated.

Changeset: a5d0b051
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/a5d0b05136e34871366441a8c8e6bda5f20c617c
Stats:     65 lines in 2 files changed: 47 ins; 3 del; 15 mod

8376274: JSpec preview support and output enhancement

Reviewed-by: hannesw

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

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

Reply via email to