On 8/24/20 3:53 PM, Ioi Lam wrote:
:
However, I suspect most people won't do this, because the benefit is
relatively small. Also, jlink doesn't support classpath apps, so you
would need to figure out what to use for "--add-modules". In the worst
case, the custom JDK would be over 100MB in size.
`jdeps --print-module-deps` can find the static dependencies. It will
need to know its reflective dependencies and any service providers it
depends on. It's no different for creating a custom image for modular apps.
Mandy