[ 
https://issues.apache.org/jira/browse/POOL-374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gary Gregory closed POOL-374.
-----------------------------
    Fix Version/s: 2.7.1
       Resolution: Fixed

In git master.

> org.apache.commons.pool2.impl.GenericKeyedObjectPool.returnObject(K, T) 
> should throw IllegalStateException instead of NullPointerException when a key 
> is not found in the pool map
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: POOL-374
>                 URL: https://issues.apache.org/jira/browse/POOL-374
>             Project: Commons Pool
>          Issue Type: Bug
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>            Priority: Major
>             Fix For: 2.7.1
>
>
> The method 
> {{org.apache.commons.pool2.impl.GenericKeyedObjectPool.returnObject(K, T)}} 
> should throw {{IllegalStateException}} instead of {{NullPointerException}} 
> when a key is not found in the pool map.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to