ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google

Mail Archive Home | oscar List | June 2004 Index

<--  Date Index     <--  Thread Index    

Re: [oscar] ¿Little bug in oscar's packageadmin impl?


I would have to agree with you, I think it should fire the event no
matter what, because someone may be listening for it to
complete...whether it actually does something is irrelevant I think.

I have made the change and it will be included in the next Oscar release.

Thanks for the feedback.

-> richard

Manuel Santillan Palencia wrote:

Hi there!!

I 've discovered that the PackageAdminImpl doesn't fire a framework
event if no packages need refreshing when you invoke the "refresh"
command (or equivalently the service's refreshPackages() method).
However, the spec says that "6. A framework event of type
FrameworkEvent.PACKAGES_REFRESHED is brodcast (page 136)"
I understand that that includes even if no packages need refreshing.
What do you think?
If I am right, the patch is very straithgfordward: In Oscar.java, line
1344, instead of: if (targets == null)
should say: if (targets == null)
                        getBundle(0), null);


You receive this message as a subscriber of the oscar@xxxxxxxxxxxxx mailing 
To unsubscribe: mailto:oscar-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

<--  Date Index     <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.