[infinispan-issues] [JBoss JIRA] (ISPN-8844) [JDK9+] org.infinispan.util package is exported by multiple jars

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


Tomaz Cerar created ISPN-8844:
---------------------------------

             Summary: [JDK9+] org.infinispan.util package is exported by multiple jars
                 Key: ISPN-8844
                 URL: https://issues.jboss.org/browse/ISPN-8844
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 9.1.6.Final
         Environment: JDK9, JDK10
            Reporter: Tomaz Cerar


Currently if you have 
{{infinispan-commons-9.1.6.Final.jar}} and {{infinispan-core-9.1.6.Final.jar}}
on your module path, jvm complains as both jars export package {{org.infinispan.util}}
which violates the modules contract where only one module (jar) can provide single package.

example error that jvm prints
{noformat}
Error: Modules infinispan.commons and infinispan.core export package org.infinispan.util to module wildfly.clustering.common
{noformat}



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


More information about the infinispan-issues mailing list