DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10602>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10602 dispose() in Connection do not return. Summary: dispose() in Connection do not return. Product: Avalon Version: unspecified Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Cornerstone AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The method dispose() in org.apache.avalon.cornerstone.blocks.connection.Connection do not work correctly. In same cases the method dispose() don't return. In this cases the notifyAll() (line 193) in run() was called before the wait() in main thread (line 155). 142 public void dispose() 143 throws Exception 144 { 145 if( null != m_thread ) 146 { 147 m_thread.interrupt(); [..] 152 153 synchronized( this ) 154 { 155 wait( /*1000*/ ); 156 } 157 } 161 public void run() 162 { 163 try 164 { [...] } 177 finally 178 { [...] 190 191 synchronized( this ) 192 { 193 notifyAll(); 194 } 195 } 197 } The problem I observed on a machine with 2 processors. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>