On Tue, 11 Nov 2025 17:49:40 GMT, Henry Jen <[email protected]> wrote:

>> Actually, if we just leave it blank, that message still works in all 
>> translation, I think.
>> 
>> 
>> src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_ja.properties
>> 81:err.jlink.version.mismatch=jlinkバージョン{0}がターゲットのjava.baseバージョン{1}と一致しません
>> 
>> src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_zh_CN.properties
>> 81:err.jlink.version.mismatch=jlink 版本 {0} 与目标 java.base 版本 {1} 不匹配
>> 
>> src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_de.properties
>> 81:err.jlink.version.mismatch=jlink-Version {0} stimmt nicht mit 
>> Ziel-java.base-Version {1} überein
>> 
>> src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink.properties
>> 133:err.jlink.version.mismatch=jlink build {0} does not match target 
>> java.base build {1}
>
> 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.

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

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

Reply via email to