> On 3 Dec 2021, at 15:33, Alan Bateman <alan.bate...@oracle.com> wrote:
> 
> On 03/12/2021 13:39, Michał Kłeczek wrote:
>> Am I missing something?
>> 
> I think you understand it correctly. The notion of multi-parent configuration 
> and layers is something that was added for those that were focused on interop 
> with other class loader based systems. It was tracked as issue 
> #NonHierarchicalLayers [1].

I vaguely remember these discussions but cannot find any rationale for DFS vs 
BFS.

Nevertheless, I was able to solve my problem by replacing original requires 
with artificially generated random names (to avoid name clashes) and providing 
(empty) modules having original requires but changed to transitive.

I would say: somewhat convoluted way to achieve control over dependency 
resolution but workable.

Thanks,

-- Michal

Reply via email to