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 2020/09/23 04:57:00 UTC

[jira] [Resolved] (FELIX-6324) Protect code against IllegalStateException and IllegalArgumentException

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

Carsten Ziegeler resolved FELIX-6324.
-------------------------------------
      Assignee: Carsten Ziegeler
    Resolution: Fixed

Added a new ServiceUtils helper class for getting/ungetting services

https://github.com/apache/felix-dev/commit/08d2eac4fc7575719f241b8c8e618392e2e6ae4c

> Protect code against IllegalStateException and IllegalArgumentException
> -----------------------------------------------------------------------
>
>                 Key: FELIX-6324
>                 URL: https://issues.apache.org/jira/browse/FELIX-6324
>             Project: Felix
>          Issue Type: Improvement
>          Components: HTTP Service
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: http.jetty-4.1.0, http.base-4.1.0, http.bridge-4.1.0
>
>
> Several framework methods like for getting or ungetting a service, service objects, bundle might throw an IllegalStateException or IllegalArgumentException.
> Currently, the code is not handling this - which might result in unexpected behaviour. The code needs to be protected against those exceptions and handle them correctly



--
This message was sent by Atlassian Jira
(v8.3.4#803005)