Another change brought by jtreg 6+1 in the behavior of @BeforeMethod. Now throwing an exception in @BeforeMethod causes all annotated methods to be skipped, not just those annotated with @Test.
HttpClient tests that use @BeforeMethod and ITestContext need to be updated to work around the new behavior. Rebased to jdk17 repo. ------------- Commit messages: - 8268555: Update HttpClient tests that use ITestContext to jtreg 6+1 Changes: https://git.openjdk.java.net/jdk17/pull/5/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=5&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8268555 Stats: 304 lines in 10 files changed: 276 ins; 0 del; 28 mod Patch: https://git.openjdk.java.net/jdk17/pull/5.diff Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/5/head:pull/5 PR: https://git.openjdk.java.net/jdk17/pull/5