[concurrency-interest] How has java.util.concurrent.locks been tested?

Oliver Zeigermann ozeigermann@apache.org
Thu, 30 Dec 2004 00:19:26 +0100

Have there been automated tests with multiple threads for the locks in
java.util.concurrent.lock? JUnit test? If so are they available



I have found tests for the other classes, but not for the locks.
Additionally, I was a bit confused as in e.g. ConcurrentHashMapTest
there are no multi-threaded tests as well.

Isn't it common practice to test multi-threaded scenarios? Am I
getting it all wrong again?