Integrated: 8373935: Migrate java/lang/invoke tests away from TestNG
Chen Liang
liach at openjdk.org
Fri Jan 23 17:36:51 UTC 2026
On Wed, 17 Dec 2025 21:12:32 GMT, Chen Liang <liach at openjdk.org> wrote:
> Refactor java/lang/invoke tests to use JUnit instead of TestNG.
> This is done by:
> 1. First a round of automatic conversion
> 2. Simplify exception handling tests
> 3. Replacing `assert` keyword and switching to better assertion APIs for equality etc.
> 4. Some other random cleanups, such as module status
>
> Testing: java/lang/invoke on Linux-x64. I un-problemlisted the updated `java/lang/invoke/lambda/LambdaFileEncodingSerialization.java` too.
This pull request has now been integrated.
Changeset: 40f7a18b
Author: Chen Liang <liach at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/40f7a18b2dbf120a95432174664fa897331e8973
Stats: 6140 lines in 129 files changed: 661 ins; 872 del; 4607 mod
8373935: Migrate java/lang/invoke tests away from TestNG
Reviewed-by: jvernee, alanb
-------------
PR: https://git.openjdk.org/jdk/pull/28879
More information about the core-libs-dev
mailing list