commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (POOL-312) SoftReferenceObjectPool passes soft reference to factory for activation/validation
Date Wed, 02 Nov 2016 21:07:58 GMT

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

Mark Thomas resolved POOL-312.
------------------------------
    Resolution: Invalid

activateObject and validateObject expected instances of PooledObject<T> and expect to
have to unwrap them.

> SoftReferenceObjectPool passes soft reference to factory for activation/validation
> ----------------------------------------------------------------------------------
>
>                 Key: POOL-312
>                 URL: https://issues.apache.org/jira/browse/POOL-312
>             Project: Commons Pool
>          Issue Type: Bug
>            Reporter: Eduard Martinescu
>
> Instead of passing the underlying object directly, it passes the soft reference wrapped
object.  This causes problems for factories that are unaware they are being used in this fashion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message