RFR: 8257799: Update JLS cross-references in java.compiler
joe.darcy at oracle.com
Mon Dec 7 21:03:05 UTC 2020
On 12/7/2020 11:28 AM, Jonathan Gibbons wrote:
> On Sat, 5 Dec 2020 21:37:34 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> A few of the @jls tags in the java.compiler module don't make the corresponding JLS section anymore; the null literal section and constant expression sections were renumbered.
>> This change makes corrects the mismatches.
> It would also be reasonable to semi-automate checking whether this sort of edit is necessary as a formal jtreg test, perhaps using a static checked-in copy of the JLS and JVMS index, which is maybe updated near the end of each release. If you think that is worth pursuing, maybe you could file an issue in JBS.
Filed JDK-8257854: Add testing for stale @jls and @jvms tags.
More information about the compiler-dev