felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (FELIX-4613) Whiteboard service registration changes not propagated by AbstractTracker
Date Tue, 26 Aug 2014 17:51:59 GMT

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

Dominique Pfister reopened FELIX-4613:

I'm afraid something went wrong with applying the patch, Carsten, it should add a line but
replaced it instead, so instead of:
        super.modifiedService(ref, service);
        modified((T) service, ref)
it reads:
        modified((T) service, ref)
Moreover, the code in sandbox _http-rfc189_ requires a try-catch block because the method
modified() might still throw checked exceptions.

> Whiteboard service registration changes not propagated by AbstractTracker
> -------------------------------------------------------------------------
>                 Key: FELIX-4613
>                 URL: https://issues.apache.org/jira/browse/FELIX-4613
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>            Reporter: Dominique Pfister
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: http-2.4.0
>         Attachments: patch.txt
> If a whiteboard service changes its registration properties, a tracker derived from o.a.f.http.whiteboard.internal.tracker.AbstractTracker
will not get notified, because AbstractTracker.modifiedService() does not invoke the subclass
responsible method modified().

This message was sent by Atlassian JIRA

View raw message