The implementation for this method in trunk calls
IModule.getResourcesByDelegation() which has this code:
return (urls.hasMoreElements()) ? urls : null;
So, it looks like it is doing the right thing. I believe this was
changed from 1.8.1 in the various refactoring that has gone on in trunk.
-> richard
On 9/3/09 10:45, Sahoo wrote:
I am using Felix 1.8.1. It appears that Bundle.getResources() is now
returning an empty enumeration instead of null when there is no
resource. The javadoc of the method says null has to be returned in
this case. Can anyone familiar with the implementation comment? I have
not looked at the implementation yet or debugged the problem.
Thanks,
Sahoo