In the upcoming Java 9, is there a way to dynamically discover which modules are available?
E.g.:
I can't quite tell from the documentation.
I don’t think such dynamic functionality is supported. Currently, the documentation of ModuleFinder.findAll() states:
A
ModuleFinder
provides a consistent view of the modules that it locates. IffindAll
is invoked several times then it will return the same (equals) result each time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With