RFR: 8307814: In the case of two methods with Record Patterns, the second one contains a line number from the first method

Evgeny Mandrikov godin at openjdk.org
Mon May 22 17:28:53 UTC 2023


On Mon, 22 May 2023 15:12:16 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> `TransPatterns` is not setting the position for `TreeMaker` when unrolling record patterns, leading to weird content of the `LineNumberTable`. The proposal is to set the position.
> 
> For tests, it attempts to make the tests more general/allow more strict checks on the LNT.

Marked as reviewed by godin (Author).

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

PR Review: https://git.openjdk.org/jdk/pull/14087#pullrequestreview-1437103357


More information about the compiler-dev mailing list