Modules with packages duplication
Alan Bateman
Alan.Bateman at oracle.com
Fri May 6 06:31:46 UTC 2016
On 05/05/2016 21:49, Michael Rasmussen wrote:
>> :
>>
>> If that is the case, what if in another layer, comprised of a single
>> classloader, I have a package split between multiple modules, how will
>> the current Instrumentation implementation work, since as you mention,
>> it maps loader+package to Module, which in that case won't be a 1-to-1
>> mapping (as implemented in JVM_GetModuleByPackageName from
>> JDK-8147465)
>>
If all modules in the layer are defined to the same class loader then
there can't be any overlapping packages. So I don't think there is an
issue here.
-Alan
More information about the jigsaw-dev
mailing list