RFR 8185130: jlink should throw error if target image and current JDK versions don't match

mandy chung mandy.chung at oracle.com
Tue Dec 5 16:25:55 UTC 2017



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