On Fri, 23 Jan 2026 09:41:58 GMT, Jan Lahoda <[email protected]> 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! > > Jan Lahoda has updated the pull request with a new target base due to a merge > or a rebase. The pull request now contains seven commits: > > - Updating per review comments. > - Merge remote-tracking branch 'upstream/master' into > upgrade-java-lang-runtime-to-junit > - Removing wrong @Test annotation. > - Using assertThrows instead of manual try-catch. > - 8375712: Convert java/lang/runtime tests to use JUnit > (automatic conversion) > - Cleanup. > - 8375119: SwitchBoostraps.enumSwitch does not throw an NPE when lookup is > null in some cases Marked as reviewed by liach (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/29350#pullrequestreview-3697019574
