Hi, Could someone please review this very small fix.
The class JImageTask (src/jdk.jlink/share/classes/jdk/tools/jimage/JImageTask.java) has references to an info message by 'err.cannot.create.dir' key. Unfortunately the corresponding resource file (src/jdk.jlink/share/classes/jdk/tools/jimage/resources/jimage.properties) doesn't contain this key. This results in long not user friendly stacktraces in output when jimage cannot create a directory. The fix is very small, I added the missing definition into the resource file. BUGURL: https://bugs.openjdk.java.net/browse/JDK-8170113 WEBREV: http://cr.openjdk.java.net/~dkononenko/8170113/webrev.00 Thank you, Denis.