A couple of questions

PavelTurk pavelturk2000 at gmail.com
Fri Dec 29 11:47:00 UTC 2023


Hello all. Could anyone help me with the following questions:

1. Let's suppose I have a reference to an unnamed module: module.getName() == null . But I need at least some information about it.
How can I get file name of this module - jar/war etc?

2. Let's suppose I have the following layer graph:

1) boot
2) layerA (parent - boot) has moduleX
3) layerB (parent - boot) has moduleX
4) layerC (parents - layerA, layerB) has moduleY

As I understand it is a possible situation. ModuleY requires moduleX that is present in two parent layers.
The question - how can I find out from which layer moduleX will be used for moduleY?

Best regards, Pavel



More information about the jigsaw-dev mailing list