--- a/src/jdk.packager/windows/classes/jdk/packager/internal/resources/windows/WinMsiBundler.properties Thu Aug 02 17:44:48 2018 -0400
+++ b/src/jdk.packager/windows/classes/jdk/packager/internal/resources/windows/WinMsiBundler.properties Thu Aug 02 17:47:41 2018 -0400
@@ -61,6 +61,9 @@
error.cannot-write-to-output-dir=Output directory {0} is not writable.
error.too-many-content-types-for-file-association=More than one MIME types was specified for File Association number {0}.
error.too-many-content-types-for-file-association.advice=For Linux Bundling specify one and only one MIME type for each file association.
+error.license-missing=can not find license file {0}.
+error.license-missing.advice=include license file {0} in the --files argument.
+
message.tool-version=Detected [{0}] version [{1}]
message.running-wsh-script=Running WSH script on application image [{0}]
--- a/src/jdk.packager/windows/classes/jdk/packager/internal/windows/WinMsiBundler.java Thu Aug 02 17:44:48 2018 -0400
+++ b/src/jdk.packager/windows/classes/jdk/packager/internal/windows/WinMsiBundler.java Thu Aug 02 17:47:41 2018 -0400
@@ -388,9 +388,10 @@
}
if (!found) {
throw new ConfigException(
- I18N.getString("error.license-missing"),
- MessageFormat.format(I18N.getString("error.license-missing.advice"),
- license));
+ MessageFormat.format(I18N.getString(
+ "error.license-missing"), license),
+ MessageFormat.format(I18N.getString(
+ "error.license-missing.advice"), license));
}
}
}