RFR: 8375712: Convert java/lang/runtime tests to use JUnit [v2]

Jan Lahoda jlahoda at openjdk.org
Fri Jan 23 07:50:52 UTC 2026


> 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!

Jan Lahoda has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29350/files
  - new: https://git.openjdk.org/jdk/pull/29350/files/7ea77d11..7ea77d11

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29350&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29350&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/29350.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29350/head:pull/29350

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


More information about the core-libs-dev mailing list