[code-reflection] RFR: Transform runtime test to JUnit [v5]

Paul Sandoz psandoz at openjdk.org
Mon Sep 22 22:15:20 UTC 2025


On Mon, 22 Sep 2025 21:54:21 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> Transform runtime test to JUnit.
>
> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Move test that requires non-static method source, from TestLambdaOps to a new test class

test/jdk/java/lang/reflect/code/TestMethodRefLambda.java line 44:

> 42: import java.util.function.IntUnaryOperator;
> 43: 
> 44: // The comment allow us to use non-static method source

Suggestion:

// Declare a per-class lifecycle, so we can declare an instance factory method
// as the source of arguments for parameterized tests

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

PR Review Comment: https://git.openjdk.org/babylon/pull/578#discussion_r2370417328


More information about the babylon-dev mailing list