RFR: 8347831: Re-examine version check when cross linking [v4]

Alan Bateman alanb at openjdk.org
Tue Nov 11 17:30:05 UTC 2025


On Tue, 11 Nov 2025 17:10:30 GMT, Henry Jen <henryjen at openjdk.org> wrote:

>> Instead of showing N/A, it is now show missing. Output is still like above in the description.
>> 
>> 
>> jlink --module-path /Library/Java/JavaVirtualMachines/jdk-25.jdk/Contents/Home/jmods --add-modules java.base --output macos25
>> Error: jlink build N/A-26-internal-adhoc.hjen.JDK-8347831-2026-03-17 does not match target java.base build missing
>
> IllegalArgumentException and most others are caught in run() and showing message as an Error.

> Error: jlink build N/A-26-internal-adhoc.hjen.JDK-8347831-2026-03-17 does not match target java.base build missing

"java.base build missing" is a bit confusing as it suggests that java.base is missing when it trying to say that the release resource is missing. Have you tried creating a separate resource/message for this case?

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

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


More information about the build-dev mailing list