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 2018/06/11 20:36:00 UTC
[jira] [Closed] (DBCP-503)
org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll()
does not close all
[ https://issues.apache.org/jira/browse/DBCP-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed DBCP-503.
-----------------------------
> org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll() does not close all
> -----------------------------------------------------------------------------------------------
>
> Key: DBCP-503
> URL: https://issues.apache.org/jira/browse/DBCP-503
> Project: Commons DBCP
> Issue Type: Bug
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Priority: Major
> Fix For: 2.4.0
>
>
> {{org.apache.commons.dbcp2.datasources.InstanceKeyDataSourceFactory.closeAll()}} does not close all if an exception is thrown while closing one of the resources.
> {code:java}
> /**
> * Closes all pools associated with this class.
> *
> * @throws Exception
> * a {@link ListException} containing all exceptions thrown by {@link InstanceKeyDataSource#close()}
> * @see InstanceKeyDataSource#close()
> * @see ListException
> * @since 2.4.0 throws a {@link ListException} instead of, in 2.3.0 and before, the first exception thrown by
> * {@link InstanceKeyDataSource#close()}.
> */
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)