Hello all. Let's consider there are two java applications (in two different processes). Application A is mine and I can do whatever I want with it. Application B is the application I can't (or I don't want to) modify.
Now in Application A I need to get information about Application B JPMS layers, JPMS modules etc. As I understand I can do it via java agent. But I can't find information how I can get all JPMS layers of the Application B in this agent. Could anyone say how to do it, if it is possible. Or maybe there are different ways to do it. Best regards, Pavel