Use-cases for version ranges?
Nicolas Lalevée
nicolas.lalevee at hibnet.org
Sun Nov 20 05:18:40 PST 2011
Le 20 nov. 2011 à 03:55, cowwoc a écrit :
> On 19/11/2011 5:51 AM, Nicolas Lalevée [via jigsaw-dev] wrote:
>> A last note on the solution on overriding dependencies. This really
>> looks like a hack to me. The developer of a module A declare a
>> dependency on module B and we say, no, it's actually module C. For me
>> it it like changing the visibility of a method from private to public
>> via introspection.
>
> We aren't substituting module B for module C. We are substituting
> module B version 1.0 with module B version 1.1. So long as we substitute
> for a version which is compatible wiht version 1.0 why should the author
> care?
The author probably not, but what about the module system in the jvm ? The dependency declarations are for the module system so it can correctly ensure modularity.
Nicolas
More information about the jigsaw-dev
mailing list