You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/03/09 07:49:38 UTC
[jira] [Closed] (FELIX-4806) Ungetting service through
ServiceObjects might throw IllegalArgumentException
[ https://issues.apache.org/jira/browse/FELIX-4806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-4806.
-----------------------------------
> Ungetting service through ServiceObjects might throw IllegalArgumentException
> -----------------------------------------------------------------------------
>
> Key: FELIX-4806
> URL: https://issues.apache.org/jira/browse/FELIX-4806
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-4.6.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: framework-4.6.1
>
>
> Currently the ServiceObjects object for a reference is not a singleton per bundle, it's creating a fresh instance on each call. Therefore if a servce object is get and then unget via a new instance of ServiceObjects an IllegalArgumentException is thrown.
> In addition, keeping a list of services that were get through the ServiceObjects object might lead to a memory leak if that objects is kept by the client
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)