[ 
https://issues.apache.org/jira/browse/BEAM-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668922#comment-16668922
 ] 

Luke Cwik commented on BEAM-5919:
---------------------------------

The error is because after shading we check that all class files are within 
org/apache/beam and Java 9 is adding a module-info.class in META-INF/ which is 
outside of org/apache/beam and hence fails.

Trivial fix is to update the build files to exclude META-INF as well.

> Build breaks when including Multi-release Jars
> ----------------------------------------------
>
>                 Key: BEAM-5919
>                 URL: https://issues.apache.org/jira/browse/BEAM-5919
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>    Affects Versions: 2.8.0
>            Reporter: Ismaël Mejía
>            Assignee: Luke Cwik
>            Priority: Minor
>         Attachments: logjava9jarissue.txt
>
>
> As part of BEAM-5891 there is a reported problem in the build system with 
> jars that contain multiple versions of the classes (this is a feature 
> introduced in Java 9). This should not be a problem when the main classes are 
> still Java 8 compatible as it is the case for byte buddy.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to