changeset 16533:8102fc376591

8172659: PluginException("TargetPlatform attribute is missing ...") - should be ModuleTarget Reviewed-by: alanb, jlaskey
author sundar
date Fri, 20 Jan 2017 19:12:46 +0530
parents 5f9a526939d9
children f1b7d60adc19
files src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java	Thu Jan 19 16:38:24 2017 -0800
+++ b/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);