Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 93556 invoked from network); 2 Jul 2009 13:42:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Jul 2009 13:42:01 -0000 Received: (qmail 16747 invoked by uid 500); 2 Jul 2009 13:42:11 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 16707 invoked by uid 500); 2 Jul 2009 13:42:10 -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 16573 invoked by uid 99); 2 Jul 2009 13:42:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 13:42:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jul 2009 13:42:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4085B234C1E7 for ; Thu, 2 Jul 2009 06:41:48 -0700 (PDT) Message-ID: <1813525177.1246542108263.JavaMail.jira@brutus> Date: Thu, 2 Jul 2009 06:41:48 -0700 (PDT) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-1295) ServiceRegistry decrements service use before ungetService() is called on ServiceFactory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ServiceRegistry decrements service use before ungetService() is called on ServiceFactory ---------------------------------------------------------------------------------------- Key: FELIX-1295 URL: https://issues.apache.org/jira/browse/FELIX-1295 Project: Felix Issue Type: Bug Components: Framework Affects Versions: felix-1.8.1 Reporter: David Bosschaert The OSGi specification says about the call to ServiceFactory.ungetService(): "The bundle's usage count for that service object must drop to zero after this call returns; that is, the bundle is about to release its last dependency on the service object." However the current implementation decrements it just before ungetService() is called. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.