RFR: 7902831: Provide way to isolate tests from general concurrency

Jonathan Gibbons jjg at openjdk.java.net
Thu Jul 8 03:48:55 UTC 2021


On Thu, 18 Feb 2021 20:13:20 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

> a prototype solution of [CODETOOLS-7902831](https://bugs.openjdk.java.net/browse/CODETOOLS-7902831) which changes `exclusiveAccess` tests to behave "nonconcurrent" one and uses read-write lock.

Would `IllegalStateException` (and a detail message) not be better than those uses of `UnsupportedOperationException`?

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

PR: https://git.openjdk.java.net/jtreg/pull/4


More information about the jtreg-dev mailing list