OK, so now I have Java 9 + Jigsaw load my module's main method, and in
there I need to call a class from another module by reflection. That
other module is in the module path, and I know its name and version. I
can't use the boot class loader because it's not on the class path (it's
on the module path).

Is there somewhere a module registry I can use to add a read to that
other module and load classes from it?

Do I have to use a Configuration/Layer to load it? I would think not
since it's in the module path already, but it could be that it's not
loaded by the JVM since it's not directly referenced by the main module.

Reply via email to