RFR: 8347831: Re-examine version check when cross linking [v4]
Henry Jen
henryjen at openjdk.org
Thu Nov 13 19:59:48 UTC 2025
On Tue, 11 Nov 2025 18:52:17 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> With the latest update, the message is like
>>
>> Error: jlink build N/A-26-internal-adhoc.hjen.JDK-8347831-2026-03-17 does not match target java.base build
>
> It kinda works but a different message to say that the release info from the java.base module is not present might be clearer. Maybe it can include something "older JDK release?" or something to give a clue.
Message updated with latest commit as proposed in the CSR.
$ 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 cannot find the build signature in the java.base specified on module path, likely from an earlier build.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28155#discussion_r2524746666
More information about the core-libs-dev
mailing list