RFR: 8311302: Allow for jlinking a custom runtime without packaged modules being present [v10]

Severin Gehwolf sgehwolf at openjdk.org
Tue Dec 5 10:58:42 UTC 2023


On Wed, 29 Nov 2023 23:25:03 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Severin Gehwolf has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Tighten ModifiedFilesExitTest
>>   
>>   Ensure the error message is reasonable and doesn't include
>>   Exceptions presented to the user.
>
> src/jdk.jlink/share/classes/jdk/tools/jlink/internal/RunImageArchive.java line 52:
> 
>> 50:     // File marker in lib/modules file for java.base indicating it got created
>> 51:     // with a run-image-type link.
>> 52:     private static final String RUNIMAGE_SINGLE_HOP_STAMP = ".runtimeimage.stamp";
> 
> This marker file is only used by jlink.  So it can be in `jdk.jlink/jdk/tools/jlink/internal/runtimeimage.link.stamp`.

Sure. I've moved it there.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14787#discussion_r1415358766


More information about the core-libs-dev mailing list