[jboss-jira] [JBoss JIRA] (JBMETA-405) [JDK9+] org.jboss.metadata.merge package is exported by multiple jars

Tomaz Cerar (JIRA) issues at jboss.org
Mon Feb 19 09:42:00 EST 2018


Tomaz Cerar created JBMETA-405:
----------------------------------

             Summary: [JDK9+] org.jboss.metadata.merge package is exported by multiple jars
                 Key: JBMETA-405
                 URL: https://issues.jboss.org/browse/JBMETA-405
             Project: JBoss Metadata
          Issue Type: Bug
          Components: common, ear
            Reporter: Tomaz Cerar


if you have 
jboss-metadata-ear-11.0.0.Final.jar and jboss-metadata-common-11.0.0.Final.jar
on your module path, jvm complains as both jars export package  {{org.jboss.metadata.merge}}
which violates the modules contract where only one module (jar) can provide single package.

example error that jvm prints
{noformat}
Error: Modules jboss.metadata.ear and jboss.metadata.common export package org.jboss.metadata.merge to module wildfly.clustering.common
{noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list