[FELIX-3414] Fix problems with the refreshPackages which does not wait for the refresh to be completed.
This is a simple workaround (which may not always work) that should improve the situation waiting to leverage the new osgi wiring api.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1348921 13f79535-47bb-0310-9956-ffa450edef68
2 files changed