RFR 8185130: jlink should throw error if target image and current JDK versions don't match
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Tue Dec 5 17:43:29 UTC 2017
Updated: http://cr.openjdk.java.net/~sundar/8185130/webrev.02/
-Sundar
On 05/12/17, 9:55 PM, mandy chung wrote:
>
>
> On 12/5/17 6:42 AM, Sundararajan Athijegannathan wrote:
>> Updated to check minor version as well ->
>> http://cr.openjdk.java.net/~sundar/8185130/webrev.01/index.html
>
> 454 throw new IllegalArgumentException(String.format("jlink version %d.%d != java.base version %d.%d",
> 455 Runtime.version().major(), Runtime.version().minor(),
> 456 version.major(), version.minor()));
>
> This should be a localized message. Otherwise, looks okay.
> Mandy
>
>
More information about the jigsaw-dev
mailing list