8172659: PluginException("TargetPlatform attribute is missing ...") - should be ModuleTarget
authorsundar
Fri, 20 Jan 2017 19:12:46 +0530
changeset 43225 548d92cace80
parent 43224 355457152ea8
child 43226 6fc9bdd300f1
8172659: PluginException("TargetPlatform attribute is missing ...") - should be ModuleTarget Reviewed-by: alanb, jlaskey
jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java
--- a/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java	Thu Jan 19 16:38:24 2017 -0800
+++ b/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java	Fri Jan 20 19:12:46 2017 +0530
@@ -162,7 +162,7 @@
             });
 
             if (this.targetOsName == null) {
-                throw new PluginException("TargetPlatform attribute is missing for java.base module");
+                throw new PluginException("ModuleTarget attribute is missing for java.base module");
             }
 
             checkResourcePool(files);