[infinispan-issues] [JBoss JIRA] (ISPN-8844) [JDK9+] org.infinispan.util package is exported by multiple jars
Gustavo Fernandes (Jira)
issues at jboss.org
Mon Nov 26 09:22:01 EST 2018
[ https://issues.jboss.org/browse/ISPN-8844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666044#comment-13666044 ]
Gustavo Fernandes commented on ISPN-8844:
-----------------------------------------
Looks for the class AbstractDelegatingSet for example, it was being included both in commons and in core before the fix
> [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
> Assignee: Gustavo Fernandes
> Priority: Major
> Labels: on-hold
> Fix For: 9.4.0.Alpha1, 9.4.0.CR3, 9.3.4.Final
>
>
> 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.12.1#712002)
More information about the infinispan-issues
mailing list