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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Steps to Reproduce:
      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

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

                Dates

                Created:
                Updated:
                Resolved: