Integrated: 8376277: Migrate java/lang/reflect tests away from TestNG
Chen Liang
liach at openjdk.org
Tue Jan 27 14:54:36 UTC 2026
On Mon, 26 Jan 2026 05:19:25 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.
This pull request has now been integrated.
Changeset: bbb4b0d4
Author: Chen Liang <liach at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/bbb4b0d498900f929225233008bbdbafaae5d709
Stats: 799 lines in 28 files changed: 91 ins; 286 del; 422 mod
8376277: Migrate java/lang/reflect tests away from TestNG
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/29405
More information about the core-libs-dev
mailing list