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!

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

Depends on: https://git.openjdk.org/jdk/pull/29202

Commit messages:
 - Removing wrong @Test annotation.
 - Using assertThrows instead of manual try-catch.
 - 8375712: Convert java/lang/runtime tests to use JUnit

Changes: https://git.openjdk.org/jdk/pull/29350/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29350&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375712
  Stats: 220 lines in 3 files changed: 36 ins; 77 del; 107 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

Reply via email to