FELIX-3336 Included a fix and some code that seems to solve the issue even though I'm not sure why. Committing this so others can review it.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1240137 13f79535-47bb-0310-9956-ffa450edef68
1 file changed