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

Henry Jen henryjen at openjdk.org
Thu Mar 13 17:46:43 UTC 2025


On Mon, 10 Mar 2025 09:31:17 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>>> I guess its worth asking how would the format evolve in the future if more than `/static-lib` were added? 
>> 
>> Unlike the JAR format, the JMOD format requires an update when new sections are added. We don't need to get hung up on any of the details around this now, most of the work to support this will be in jlink, not the jmod tool.
>
> I'm ok with this for the leyden branch.

I am thinking just to support -1 version. So 1.2 jmod can produce 1.2 with latest feature and 1.1 for previous version.
Anyway, as Alan pointed out, we don't need to figure this out right now.

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

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


More information about the leyden-dev mailing list