On Wed, 25 Feb 2026 16:13:18 GMT, Chen Liang <[email protected]> wrote:

> Remove the use of TestNG from java/lang/annotation tests.
> Interesting that JUnit scans annotations on member classes, so we can't put 
> malformed annotations on classes nested in the test class; we can put them on 
> package-private classes in the same source file instead.
> Also refactored LoaderLeakTest to perform GC more reliably within our test 
> framework.

test/jdk/java/lang/annotation/typeAnnotations/TestExecutableGetAnnotatedType.java
 line 168:

> 166:     }
> 167: 
> 168:     public static Object[][] genericMethodData()  throws Exception {

Suggestion:

    public static Object[][] genericMethodData() throws Exception {

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29921#discussion_r2869782763

Reply via email to