Jigsaw spec clarifications
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue Jan 24 10:21:43 PST 2012
On 01/19/2012 04:41 PM, Alex Buckley wrote:
> 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
What about:
provides service S with S_A;
provides service S with S_A;
-- Jon
More information about the jigsaw-dev
mailing list