Aliases

Paul Sandoz paul.sandoz at oracle.com
Wed Sep 12 00:03:35 PDT 2012


On Sep 11, 2012, at 10:04 PM, Alex Buckley <alex.buckley at Oracle.COM> wrote:

> On 9/11/2012 11:23 AM, Paul Sandoz wrote:
>> On Sep 11, 2012, at 7:47 PM, Alex Buckley <alex.buckley at Oracle.COM>
>> wrote:
>>> But modules from completely different vendors with completely
>>> different names should be able to provide the same alias. This will
>>> seem reasonable if you think of aliases as they were originally
>>> conceived: "virtual" modules, able to be implemented by any number
>>> of physical modules.
>> 
>> I think that is OK, that rule needs clarification w.r.t. libraries:
>> two such vender-based modules cannot be present in a library.
>> 
>> Do you think there will be cases that two such modules would need to
>> be present in a library?
> 
> I can imagine multiple modules from vendor A providing the "java" alias, and multiple modules from vendor B providing the "java" alias, installed in the same library, yes.
> 

I am somewhat skeptical; currently lacking the imagination to come up with some viable concrete cases.

How would selection of one vendor other another work? I guess (as Alan mentioned to me) some form of policy would be required (and it could be a pre-filtering step of the module graph).

Paul.


More information about the jigsaw-dev mailing list