JDK-8170120 jimage IOException solution?

Alan Bateman Alan.Bateman at oracle.com
Fri Feb 16 13:45:49 UTC 2018


On 16/02/2018 13:35, Michal Vala wrote:
> :
>
> Sure I can do that. However, all output messages are defined at 
> jimage.properties (jdk.jlink module) file and this won't be possible 
> for this case. I can't tell whether IOExcaption is caused by wrong 
> jimage file or something else so all I can do is really just print an 
> exception message.
The jimage tool is for troubleshooting purposes, it's not a tool that we 
expect many developers to every use directly. It should be okay if the 
resource is something like "Unable to open {0}: {1}" where {0} is the 
file path specified to the tool, and {1} is the exception message.

-Alan


More information about the jigsaw-dev mailing list