src/jdk.jpackager/macosx/classes/jdk/jpackager/internal/mac/MacBaseInstallerBundler.java
branchJDK-8200758-branch
changeset 57020 a828547f7e50
parent 57017 1b08af362a30
equal deleted inserted replaced
57019:585939d9f952 57020:a828547f7e50
   227 
   227 
   228             IOUtils.exec(pb, verbose, false, ps);
   228             IOUtils.exec(pb, verbose, false, ps);
   229             Pattern p = Pattern.compile("\"alis\"<blob>=\"([^\"]+)\"");
   229             Pattern p = Pattern.compile("\"alis\"<blob>=\"([^\"]+)\"");
   230             Matcher m = p.matcher(baos.toString());
   230             Matcher m = p.matcher(baos.toString());
   231             if (!m.find()) {
   231             if (!m.find()) {
   232                 Log.info("Did not find a key matching '" + key + "'");
   232                 Log.error("Did not find a key matching '" + key + "'");
   233                 return null;
   233                 return null;
   234             }
   234             }
   235             String matchedKey = m.group(1);
   235             String matchedKey = m.group(1);
   236             if (m.find()) {
   236             if (m.find()) {
   237                 Log.info("Found more than one key matching '"  + key + "'");
   237                 Log.error("Found more than one key matching '"  + key + "'");
   238                 return null;
   238                 return null;
   239             }
   239             }
   240             Log.debug("Using key '" + matchedKey + "'");
   240             Log.debug("Using key '" + matchedKey + "'");
   241             return matchedKey;
   241             return matchedKey;
   242         } catch (IOException ioe) {
   242         } catch (IOException ioe) {