Alternative to fatJar - modular solution?

Alan Bateman Alan.Bateman at oracle.com
Sat Oct 9 06:16:05 UTC 2021


On 09/10/2021 05:34, Samuel Audet wrote:
> One problem is that frameworks like Spring Boot need to scan the classes
> that are available in a module, to get a list of the names of all the
> classes, among other things. The JDK provides no standard way to do that.
> For example, how would you implement a class like this one?
The ModuleReader is the API for listing or accessing the contents of a 
module. With these frameworks then then it would be a lot more efficient 
to do these things at build or link time. At one point there was 
discussion and prototypes of doing the indexing in a jlink plugin.

-Alan


More information about the jigsaw-dev mailing list