[code-reflection] RFR: Use JUnit instead of TestNG [v2]

Mourad Abbay mabbay at openjdk.org
Mon Sep 15 14:38:19 UTC 2025


On Mon, 15 Sep 2025 12:23:21 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> test/langtools/tools/javac/reflect/TestIRFromAnnotation.java line 68:
>> 
>>> 66:                                                 // in method superInterfaceMethodInvocation
>>> 67:             "LocalClassTest.java",              // name of local classes is not stable at annotation processing time
>>> 68:             "TestLocalCapture.java",            // plain junit test
>> 
>> When looking again at this, it would perhaps be beneficial to put all the IR tests in a separate folder. It seems a bit sad that whenever we add a "plain" test we have to come back and list it here.
>> 
>> The exclusion for `SuperTest`/`LocalClassTest` of course make more sense, so it's ok for them to stay.
>
> (for the records, I'm not suggesting we tackle this in this PR -- more noting for "future work")

Actually, "plain" test should be in the runtime tests directory.

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

PR Review Comment: https://git.openjdk.org/babylon/pull/566#discussion_r2349219900


More information about the babylon-dev mailing list