Description
Demonstrates a deadlock caused by synchronized methods in objects that call one another in a Servlet. Servlets are inherently multithreaded, so we dont need to actually start threads in the bad() and goodX() functions. Implementation based on http://download.oracle.com/javase/tutorial/essential/concurrency/deadlock.html.
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.