RFR: 8376277: Migrate java/lang/reflect tests away from TestNG [v2]
Chen Liang
liach at openjdk.org
Mon Jan 26 14:36:06 UTC 2026
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29405/files
- new: https://git.openjdk.org/jdk/pull/29405/files/8f311ea5..f9da740a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29405&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29405&range=00-01
Stats: 10 lines in 3 files changed: 8 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/29405.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29405/head:pull/29405
PR: https://git.openjdk.org/jdk/pull/29405
More information about the core-libs-dev
mailing list