Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-458

[JDK9+] package org.aesh.io split in two jars

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1
    • None
    • None
    • None
    • Hide

      Easiest way to reproduce is to run

      java --module-path=. --list-modules

      where module-path is directory with all the jars in it.

      Show
      Easiest way to reproduce is to run java --module-path=. --list-modules where module-path is directory with all the jars in it.

    Description

      if you have aesh-1.0.jar and aesh-readline-1.3.jar
      on your module path, jvm complains as both jars export package org.aesh.io
      which violates the modules contract where only one module (jar) can provide single package.

      example error that jvm prints

      java.lang.module.ResolutionException: Modules aesh.readline and aesh export package org.aesh.io to module jboss.marshalling.river
      

      same issue applies for packages

      org.aesh.readline
      org.aesh.util
      org.aesh.io
      

      Attachments

        Issue Links

          Activity

            People

              spederse@redhat.com Stale Pedersen
              tomazcerar Tomaž Cerar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: