harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4040) [classlib][beans] BeanContextServices doesn't notify beans when services are revoked
Date Fri, 22 Jun 2007 10:45:26 GMT

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


Mime
View raw message