Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8844

[JDK9+] org.infinispan.util package is exported by multiple jars

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

      Error: Modules infinispan.commons and infinispan.core export package org.infinispan.util to module wildfly.clustering.common
      

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              tomazcerar Tomaž Cerar (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare
              Diego Lovison Diego Lovison

                Created:
                Updated:
                Resolved:
                Archived: