[
https://issues.apache.org/jira/browse/FELIX-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931968#comment-15931968
]
Mark Raynsford edited comment on FELIX-5592 at 3/19/17 9:16 PM:
----------------------------------------------------------------
Er, to clarify, ServiceLoader isn't used in OSGi. Generally though, if a piece
of code is written to work well with the ServiceLoader API, then it can be made
to work under OSGi with next to no effort.
was (Author: io7m):
Er, to clarify, `ServiceLoader` isn't used in OSGi. Generally though, if a
piece of code is written to work well with the `ServiceLoader` API, then it can
be made to work under OSGi with next to no effort.
> Maven bundle plugin does not support Java 9 Multi-Release jars
> --------------------------------------------------------------
>
> Key: FELIX-5592
> URL: https://issues.apache.org/jira/browse/FELIX-5592
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-3.2.0
> Reporter: Ralph Goers
>
> Log4j 2 currently packages its jars with the maven-bundle-plugin. To support
> Java 9 we are moving towards using Multi-Release jars to pick up the Java 9
> features. However, when the Maven bundle plugin encouters classes in
> META-INF/versions/9 it emits an error message saying "Classes found in the
> wrong directory:", which is incorrect for a Multi-Release jar in Java 9.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)