Skip to content

Commit

Permalink
Add a message when a run-image based link is being performed
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Oct 18, 2023
1 parent 520f6dd commit 79cf672
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,11 @@ private static ImageHelper createImageProvider(JlinkConfiguration config,
taskHelper.getMessage("err.automatic.module", mref.descriptor().name(), loc));
});

// Print info message when a run-image link is being performed
if (log != null && !config.useModulePath()) {
log.println("'jmods' folder not present, performing a run-image based link.");
}

if (verbose && log != null) {
// print modules to be linked in
cf.modules().stream()
Expand Down

0 comments on commit 79cf672

Please sign in to comment.