src/jdk.packager/windows/classes/jdk/packager/internal/windows/WinMsiBundler.java
branchJDK-8200758-branch
changeset 56851 1390fbc2cf3d
parent 56821 565d54ca1f41
child 56869 41e17fe9fbeb
equal deleted inserted replaced
56850:678d72c01ee6 56851:1390fbc2cf3d
   386                     for (RelativeFileSet appResources : appResourcesList) {
   386                     for (RelativeFileSet appResources : appResourcesList) {
   387                         found = found || appResources.contains(license);
   387                         found = found || appResources.contains(license);
   388                     }
   388                     }
   389                     if (!found) {
   389                     if (!found) {
   390                         throw new ConfigException(
   390                         throw new ConfigException(
   391                                 I18N.getString("error.license-missing"),
   391                             MessageFormat.format(I18N.getString(
   392                                 MessageFormat.format(I18N.getString("error.license-missing.advice"),
   392                                "error.license-missing"), license),
   393                                         license));
   393                             MessageFormat.format(I18N.getString(
       
   394                                "error.license-missing.advice"), license));
   394                     }
   395                     }
   395                 }
   396                 }
   396             }
   397             }
   397 
   398 
   398             return true;
   399             return true;