RFR: 8376277: Migrate java/lang/reflect tests away from TestNG [v2]

Alan Bateman alanb at openjdk.org
Mon Jan 26 14:36:06 UTC 2026


On Mon, 26 Jan 2026 14:32:26 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Mostly routine conversions. Manual updates are mostly assertThrows migration, assertArrayEquals fixes, and removal of TestInstance to convert method sources to be static.
>> 
>> Notably, I avoided assertThrows migration in `ChainedReflection` and `IllegalArgumentsTest` because they seem to be very sensitive to low-level reflection and runtime stuff that I fear using test framework may accidentally harm.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review remarks

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29405#pullrequestreview-3706298179


More information about the core-libs-dev mailing list