RFR: 8347755: Support static library in jmod [v6]

Magnus Ihse Bursie ihse at openjdk.org
Fri Mar 14 18:35:31 UTC 2025


On Fri, 14 Mar 2025 18:02:17 GMT, Henry Jen <henryjen at openjdk.org> wrote:

>> Should we really, though? That includes a `main` function. If the user wants to use the static libs from the jmod to create their own application, that will cause a symbol conflict.
>
> I think that worth a discussion, IIRC, the most needed processing should be in libjli already.

Yes, main.c is basically a thin wrapper that parses command line arguments and calls `JLI_Launch`.

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

PR Review Comment: https://git.openjdk.org/leyden/pull/46#discussion_r1996047658


More information about the leyden-dev mailing list