I have a running JVM instance with a known PID.
Given that there are some UNNAMED modules in play, is there any sane way to find out which named JPMS modules are currently loaded by this JVM instance, from outside?
I think it can be achieved by processing the output of jcmd <pid> VM.class_hierarchy
, but it sure is too much work for a simple and logical question in Java9+ era.