new test case

Bryce McKinlay bryce@albatross.co.nz
Sun Jan 16 15:33:00 GMT 2000


Tom Tromey wrote:
>>>>> "Anthony" == Anthony Green <green@cygnus.com>
writes:
Anthony> BTW - I'm looking at why Thread_1 is failing.
I think Thread_1 is buggy.  The last time I looked at it seriously,
I
noticed it had race conditions.  Simply deleting it might be the
most
reasonable approach.
The expected output is wrong. "active count" should be 0, there is
no race in that part due to the join. However the JOIN_TIMEOUT part of
the test has an obvious race.
It would be a shame to not have any thread tests in the test suite.
Perhaps we should fix & clean up Thread_1, and extend it to cover more
stuff (like more interrupt() corner cases).
regards
  [ bryce ]
 



More information about the Java-patches mailing list