RFR: 8372948: Store end positions directly in JCTree [v6]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Jan 26 19:53:58 UTC 2026


On Mon, 26 Jan 2026 19:29:41 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> Ok, thanks! So if I'm understanding, the cases in the switch are currently necessary, and longer term cases can be removed as the parser is updated to store end positions directly on the additional AST node kinds. Does that sound right, or are there additional changes here that should be made now?

That is my understanding as well. (I was hoping some of them would be redundant -- but it seems that's not the case)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28610#discussion_r2729011926


More information about the compiler-dev mailing list