You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/02/28 13:57:00 UTC
[jira] [Resolved] (DBCP-539) ManagedDataSource::close should
declare used exceptions to allow the compiler to check that no
InterruptedException are thrown.
[ https://issues.apache.org/jira/browse/DBCP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved DBCP-539.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.6.1
In git master now. Please verify and close.
> ManagedDataSource::close should declare used exceptions to allow the compiler to check that no InterruptedException are thrown.
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: DBCP-539
> URL: https://issues.apache.org/jira/browse/DBCP-539
> Project: Commons DBCP
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Jacques Le Roux
> Priority: Major
> Fix For: 2.6.1
>
>
> In OFBiz we implemented [DebugManagedDataSource|http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/entity/src/main/java/org/apache/ofbiz/entity/connection/DebugManagedDataSource.java?view=markup]
> We had to write DebugManagedDataSource::close in order to avoid throwing an InterruptedException
> See https://github.com/apache/commons-dbcp/pull/30/commits for the fix
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)