Question on JEP 261

Alex Buckley alex.buckley at oracle.com
Wed Dec 21 19:10:34 UTC 2016


On 12/21/2016 3:56 AM, kant kodali wrote:
> Right now If I have two Java Libraries/Dependencies that in turn uses
> another Library but with different versions. It looks like only one is
> going to get selected so the dependency that require a specific version
> would fail if it uses features specific to that version.
>
> So with the introduction of module system I wonder how this will be solved
> if there are two modules that depends on another common module but with
> different versions?

This is a Jigsaw question, and it has been discussed on jigsaw-dev 
numerous times. For example, see the August 2016 thread "Multiple 
versions of a non-exported dependency" at 
http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-August/009223.html

Alex


More information about the jdk9-dev mailing list