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

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Sep 15 12:26:37 UTC 2025


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

>> Use JUnit instead of TestNG
>
> 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")

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

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


More information about the babylon-dev mailing list