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

Chen Liang liach at openjdk.org
Tue Jan 27 14:54:33 UTC 2026


On Mon, 26 Jan 2026 14:36:06 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

Thanks for the review!

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

PR Comment: https://git.openjdk.org/jdk/pull/29405#issuecomment-3805655668


More information about the core-libs-dev mailing list