You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Nellya Udovichenko (JIRA)" <ji...@apache.org> on 2007/06/19 17:25:26 UTC

[jira] Commented: (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:comment-tabpanel#action_12506203 ] 

Nellya Udovichenko commented on HARMONY-4040:
---------------------------------------------

The bug isn't reproduced after java.beans.beancontext.BeanContextSupport class refactoring at revision 548642. Can anybody verify and close  this issue please?

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