Jigsaw spec clarifications

Alex Buckley alex.buckley at oracle.com
Thu Jan 19 16:41:50 PST 2012


On 1/19/2012 4:30 PM, Alex Buckley wrote:
> On 1/19/2012 2:33 PM, Jonathan Gibbons wrote:
>> provides service S with S_A;
>> provides service S with S_B;
>
> Illegal. Ambiguity in which implementation to use.

Actually, scratch that. Legal! It's clear from 
http://openjdk.java.net/projects/jigsaw/doc/topics/services.html that a 
module can offer multiple implementations of a service interface.

Alex



More information about the jigsaw-dev mailing list