You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Alexandre Cartapanis (JIRA)" <ji...@apache.org> on 2015/06/25 17:12:04 UTC

[jira] [Created] (FELIX-4938) Throw an exception when service use count overflow

Alexandre Cartapanis created FELIX-4938:
-------------------------------------------

             Summary: Throw an exception when service use count overflow
                 Key: FELIX-4938
                 URL: https://issues.apache.org/jira/browse/FELIX-4938
             Project: Felix
          Issue Type: Improvement
          Components: Framework
    Affects Versions: framework-5.0.0, framework-4.6.1, framework-4.6.0, framework-4.4.1, framework-4.4.0, framework-4.2.1, framework-4.2.0, framework-4.0.3, framework-4.0.2, framework-4.0.1, framework-4.0.0, framework-3.2.2, framework-3.2.1, framework-3.2.0, framework-3.0.9, framework-3.0.8, framework-3.0.7, framework-3.0.6, framework-3.0.5, framework-3.0.4, framework-3.0.3, framework-3.0.2, framework-3.0.1, framework-3.0.0, framework-5.0.1, framework-5.1.0
            Reporter: Alexandre Cartapanis
            Priority: Minor


In class org.apache.felix.framework.ServiceRegistry, in the getService method, the service use count is incremented but never checked, so it could overflow if service are not ungeted.
This is a known bug in equinox (https://bugs.eclipse.org/bugs/show_bug.cgi?id=350719)



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