ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Downing" <>
Subject Waiting in a task thread
Date Fri, 27 Apr 2001 13:43:52 GMT
Hi all,
I'm having problems with a section of code in a custom task that attempts to
stall execution for a period. My code uses


but throws an IllegalMonitorStateException ("... a thread has attempted to
wait on an object's monitor ... without owning the specified monitor. ")
when the task executes.

What gives? Can I get round it?


View raw message