Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE41E11F43 for ; Tue, 26 Aug 2014 17:51:59 +0000 (UTC) Received: (qmail 25091 invoked by uid 500); 26 Aug 2014 17:51:59 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 25021 invoked by uid 500); 26 Aug 2014 17:51:59 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 25009 invoked by uid 99); 26 Aug 2014 17:51:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2014 17:51:59 +0000 Date: Tue, 26 Aug 2014 17:51:59 +0000 (UTC) From: "Dominique Pfister (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (FELIX-4613) Whiteboard service registration changes not propagated by AbstractTracker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: {code} super.modifiedService(ref, service); modified((T) service, ref) {code} it reads: {code} modified((T) service, ref) {code} 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 (v6.2#6252)