You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2019/02/28 11:03:00 UTC
[jira] [Updated] (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 ]
Jacques Le Roux updated DBCP-539:
---------------------------------
Environment: (was: See https://github.com/apache/commons-dbcp/pull/30/commits for the fix)
Description:
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
was:
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
> 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
>
> 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)