[
https://issues.apache.org/jira/browse/FELIX-5592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931835#comment-15931835
]
Ralph Goers edited comment on FELIX-5592 at 3/19/17 5:22 PM:
-------------------------------------------------------------
Thanks, I just read that thread. I have no plans to subscribe to the bnd-tools
mailing list so I can't comment there. Java 9 is scheduled to be released in a
few months. As such Log4j 2 needs to have support in place for that. The spec
for multi-release jars is not going to change and if it was going to that would
have happened a year or more ago. It sounds like they are sticking their heads
in the sand hoping the problem will go away. Instead it is going to get worse.
To be honest, supporting Java 9 is a much higher priority to me than supporting
OSGi.
was (Author: [email protected]):
Thanks, I just read that thread. I have no plans to subscribe to the bnd-tools
mailing list so I can't comment there. Java 9 is scheduled to be released in a
few months. As such Log4j 2 needs to have support in place for that. The spec
for multi-release jars is not going to change and if it was going to that would
have happened a year or more ago. It sounds like they are sticking their heads
in the sand hoping the problem will go away. Instead it is going to get worse.
> 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)