You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Roman S. Bushmanov (JIRA)" <ji...@apache.org> on 2007/06/04 16:40:49 UTC

[jira] Updated: (HARMONY-4040) [classlib][beans] BeanContextServices doesn't notify beans when services are revoked

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

Roman S. Bushmanov updated HARMONY-4040:
----------------------------------------

    Attachment: test.zip

> [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
>         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.