Yes, I know it's synchronized, thanks. Yes, the println printed from within the condition immediately following the wait(), but the coverage report indicates that neither of the branches for...
Type: Posts; User: kernel_klink
Yes, I know it's synchronized, thanks. Yes, the println printed from within the condition immediately following the wait(), but the coverage report indicates that neither of the branches for...
I know from the Emma code coverage report that the code in run() executes up until the first wait(), then it hangs. I'm not sure why the invocation of switchOn() in the runPathsTest() fails to...
So I'm writing a JUnit test suite for a Runnable object, but for some reason the thread hangs at wait() within run() after a notify() is invoked by test.
Here's the code for the test Suite:
...