In fact this is a limitation of the underlying OSGi container (equinox? felix?) so you can try to upgrade this. I even patched an rater old equinox 3.7 to support Java 1.8 by simply adding the profiles file from a newer release.

Am 13.12.2016 16:20, schrieb Sebastian Łaskawiec:
Hey!

When using Pax Exam version 4.5.0 (but it also happens on 4.9.2) and deploying a feature which contains a bundle with "/Bundle-RequiredExecutionEnvironment: JavaSE-1.8/" manifest entry, I receive an error [1].

Everything works perfectly when I remove this line from the bundle. Of course I'm running JDK8 [2].

I also analyzed debug and trace logs and bundle is resolved correctly. But then the errors happens. Could you please advice me how can I get this working?

Thanks
Sebastian

[1] https://gist.github.com/slaskawi/9b035b691d7dfebb6b12096d8e4b380c
[2] https://gist.github.com/slaskawi/28b29eb1a06de4759a04780d500b378d



--
--
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- You received this message because you are subscribed to the Google Groups "OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to