RFR: 8347831: Re-examine version check when cross linking [v4]
Henry Jen
henryjen at openjdk.org
Tue Nov 11 17:52:09 UTC 2025
On Tue, 11 Nov 2025 17:27:43 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> 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?
@jerboaa suggested the same thing, I updated the message from "missing" to "". With latest update the message is,
Error: jlink build N/A-26-internal-adhoc.hjen.JDK-8347831-2026-03-17 does not match target java.base build
Let's use @jerboaa comment thread above to solve this message issue.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28155#discussion_r2515111787
More information about the build-dev
mailing list