On Sat, 8 Nov 2025 07:10:16 GMT, Alan Bateman <[email protected]> wrote:

> For the target runtime then finder.find("java.base") returning emptymeans the 
> module path specified to jlink doesn't have java.base so this should be 
> handled gracefully. With the current changes then it looks like it will fail 
> up with NoSuchElementException, do I read this correctly?

Yes, that's same behavior as before. I agree jlink should handle java.base not 
in the module path gracefully, I will add another error message to handle that. 
Do we want that for target release.txt as well? Since that's currently throwing 
IllegalArgumentException.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28155#discussion_r2511227667

Reply via email to