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

Mourad Abbay mabbay at openjdk.org
Sat Sep 20 02:31:52 UTC 2025


On Fri, 19 Sep 2025 23:15:10 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Transform runtime test to JUnit.
>
> test/jdk/java/lang/reflect/code/TestLambdaOps.java line 60:
> 
>> 58: import static jdk.incubator.code.dialect.java.JavaType.type;
>> 59: 
>> 60: @TestInstance(TestInstance.Lifecycle.PER_CLASS)
> 
> Why do you need this?

So that we can have a non static method source.

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

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


More information about the babylon-dev mailing list