RFR: JDK-8293768: Add links to JLS 19 and 20 from SourceVersion enum constants

Iris Clark iris at openjdk.org
Wed Sep 14 03:33:19 UTC 2022


On Wed, 14 Sep 2022 01:24:05 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Originally, I was only going to add a link to JLS 19 for when the docs for Java SE 19 went live, but at time of writing the JLS 19 link goes to the specifications landing page rather than giving a 404. Therefore, adding links to both JLS 19 and 20 know aren't dead links per se and will become better links as the JLS 19 and 20 pages are published in the future.
> 
> When the resolved JLS-version-specific links resolving the specification home page, the future I'll add the link to the specific JLS version when I add a new SourceVersion constant.

Links look good assuming current pattern of link names.  Specification landing page rather than 404 verified.

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

Marked as reviewed by iris (Reviewer).

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


More information about the compiler-dev mailing list