commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16987] - race condition in PoolableConnection.close()
Date Fri, 14 Mar 2003 18:44:23 GMT
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=16987>.
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=16987

race condition in PoolableConnection.close()





------- Additional Comments From rwaldhoff@apache.org  2003-03-14 18:44 -------
I agree that there is a potential problem here, but it's not clear to me that 
this patch fully addresses it.

I think a cleanup of the DelegatingXXX stuff is in order, to restore it to 
the "pure proxy" state (i.e., all DelegatingPreparedStatement does is pass all 
calls down to the underlying PreparedStatement, etc.  Let subclasses of 
DelegatingXXX deal with stuff like abandoned object detection, etc.)  With a 
cleaner representation at that level, it may be easier to sort through some of 
these thorny synchronization issues.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message