On Wed, 2017-12-06 at 14:02 +0100, Konrad Windszus wrote: > > The way out would be to either: > > > > 1. adjust the exported package lists for Java 8 > > 2. deploy new bundles only for Java 9 > > > > 1. is a risky proposition, especially since it can affect backwards > > compatibility > > 2. requires further work in the provisioning model, and maybe a bad > > idea to invest in since the feature model is hopefully close to > > complete. > > > > I would propose not tweak the actual deployment but rather leverage > OSGi execution environments (OSGi Core Spec 3.4). That should lead to > the fact that > ... > A bundle can only resolve if the framework is running on a VM which > implements one of the listed > required execution environments. > ...
Does that mean we get bundles that fail to resolve by default on Java 8? That would not be good IMO. Robert
