Integrated: 8375712: Convert java/lang/runtime tests to use JUnit

Jan Lahoda jlahoda at openjdk.org
Mon Jan 26 09:45:43 UTC 2026


On Wed, 21 Jan 2026 16:32:06 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> This PR converts the tests under `test/jdk/java/lang/runtime/` to use JUnit. Mostly converted by the automatic conversion tool, but there's a manual tweak to use `assertThrows` instead of the current manual `try-catch`. Also one manual fix. The changes are in separate commits, which should help reviewing.
> 
> Thanks!

This pull request has now been integrated.

Changeset: 90d065e6
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/90d065e677535e3f7caa7507f1526062b50ecc67
Stats:     243 lines in 3 files changed: 33 ins; 101 del; 109 mod

8375712: Convert java/lang/runtime tests to use JUnit

Reviewed-by: liach

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

PR: https://git.openjdk.org/jdk/pull/29350


More information about the core-libs-dev mailing list