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
    • Environment:

      JDK9/10

    • 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
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stalep Stale Pedersen
                  Reporter:
                  ctomc Toma┼ż Cerar
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: