Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.0.0-alpha1
-
None
-
OSGi
Description
The ServiceLoader pieces of the META-INF/manifest.mf are missing for OSGi.
It seems to be missing the Require-Capability entry to define ServiceLoader usage.
Require-Capability=osgi.serviceloader;filter:="osgi.serviceloader=org.slf4j.spi.SLF4JServiceProvider)",osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)"
For example, here's the one out of javax.websocket
Require-Capability: osgi.extender;filter:="(osgi.extender=osgi.servicelo ader.processor)",osgi.serviceloader;filter:="(osgi.serviceloader=javax. websocket.ContainerProvider)";resolution:=optional;cardinality:=multipl e,osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=11))"