Hi Carsten, On Tue, Nov 21, 2017 at 3:50 PM, Carsten Ziegeler <cziege...@apache.org> wrote: > Hi, > > if I understand you correctly you have an optional package import to the > package providing BarService?
Yes, that is correct. > In that case your class SomeComponent can't be loaded if that package is > not available and there is no magic to get around this. I was afraid of that. I'll try using a ServiceTracker, guess that's the next best thing. Thanks, Robert _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev