On Wed, 1 Nov 2023 15:40:23 GMT, Brian Goetz <briango...@openjdk.org> wrote:
>Since you validate that previous^2.next == previous, you might just omit the >previousStage parameter and derive it in the body. @briangoetz It was a bit of additional safety to make sure that the caller gets what they want. If the prev-prev was omitted here then this ctor would have the same signature as the other ctor. (Note that this is internal API.) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/16420#discussion_r1379094384