Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 68041 invoked from network); 22 Jun 2007 10:45:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jun 2007 10:45:46 -0000 Received: (qmail 95731 invoked by uid 500); 22 Jun 2007 10:45:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 95712 invoked by uid 500); 22 Jun 2007 10:45:50 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 95703 invoked by uid 99); 22 Jun 2007 10:45:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 03:45:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 03:45:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 32CD97141EF for ; Fri, 22 Jun 2007 03:45:26 -0700 (PDT) Message-ID: <26916143.1182509126205.JavaMail.jira@brutus> Date: Fri, 22 Jun 2007 03:45:26 -0700 (PDT) From: "Roman S. Bushmanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-4040) [classlib][beans] BeanContextServices doesn't notify beans when services are revoked In-Reply-To: <3123360.1180967917856.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman S. Bushmanov closed HARMONY-4040. --------------------------------------- Verified on r549715 Both the affected functional test and the reproducer one work as expected. > [classlib][beans] BeanContextServices doesn't notify beans when services are revoked > ------------------------------------------------------------------------------------- > > Key: HARMONY-4040 > URL: https://issues.apache.org/jira/browse/HARMONY-4040 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Roman S. Bushmanov > Assignee: Alexei Zakharov > Attachments: test.zip > > > If a BeanContextChild has obtained a service via BeanContextServices.getService() method and has not released it by BeanContextServices.releaseService(), then the BeanContextServiceRevokedListener passed to getService() method should be notified in the case the service is revoked. > Harmony does not notify that listener. > To reproduce the issue, please run the attached test. > The expected output is > REVOKED > Harmony prints nothing. > Affected tests: > functional/org/apache/harmony/test/func/api/java/beans/beancontext/TestBeanContextServiceRevokedEvent.xml > (see HARMONY-3528) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.