On Tue, 18 Mar 2025 12:31:27 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> And to be absolutely clear: this PR is just about adding new functionality 
> that was not present before.

Sure but I think it's also an attractive nuisance. The VM is very tightly 
coupled to java.base and a few other core modules. I don't think the build 
should be supporting grabbing libjvm from another build or another location. 
Point taken that tools to build and test the JDK need to come from somewhere 
but it's not as tightly coupled as we have with the proposal here.

For the folks targeting embedded/small environments then I think the right 
thing is to publish the packaged modules (JMOD files) for the target platform 
and then use `jlink` to create the run-image with the right  VM + small set of 
modules that are appropriate for the target environment.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24063#issuecomment-2735829450

Reply via email to