RFR JDK-8044627: Update JNDI to work with modules
Pavel Rappo
pavel.rappo at oracle.com
Tue Oct 14 14:03:53 UTC 2014
OK, so what I will do for now is I exclude these 4 files and push without them. I'll create a new issue to add them later.
-Pavel
On 14 Oct 2014, at 14:44, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 14/10/2014 14:34, Daniel Fuchs wrote:
>> Hi Pavel,
>>
>> I saw your mail on build-dev.
>> I guess the issue will resolve itself once we have the
>> modular image.
>>
>> I wonder whether the way to go for now would be
>> to add a single META-INF/services file - as you suggest -
>> in java.naming, with the 4 lines inside, and log a bug/RFE
>> to follow up on that once the modular image is there.
>>
>> best regards,
>>
>> -- daniel
> Once we move to modules then these service configuration files will go away. The resolver will build a service-use graph based on the provides/uses in the module descriptors and that will link the JNDI module to the providers. Pavel just needs a short term solution and having all the providers in one file is okay for that. A better short term solution is to just concatenate them in the build, we are already doing this in the jigsaw/m2 forest for the JDI connectors.
>
> -Alan
More information about the core-libs-dev
mailing list