<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yes, you are right. Still, a default value of 1 would make the code more obvious.<div><br></div><div>Reviewed.</div><div><br></div><div>/Staffan<br><div><br><div><div>On 10 okt 2013, at 14:57, Fredrik Arvidsson <<a href="mailto:fredrik.arvidsson@oracle.com">fredrik.arvidsson@oracle.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div text="#000000" bgcolor="#FFFFFF">
    Thanks for reviewing.<br>
    <br>
    Regarding default value of returnstatus. If start() throws an
    unhandled exception, would not the Java runtime return 1 for us?<br>
    The try {} clause does not catch anything, it just calls stop() on
    finally.<br>
    <br>
    /F<br>
    <br>
    <div class="moz-cite-prefix">On 2013-10-10 13:49, Staffan Larsen
      wrote:<br>
    </div>
    <blockquote cite="mid:423EB291-3E36-41F7-86F6-6362D0B49839@oracle.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div>Thanks for doing this!</div>
      <div><br>
      </div>
      Tool.java:116 - shouldn't the default return value be 1? In case
      start() throws an exception for some reason.
      <div><br>
      </div>
      <div>Tool.java: I find the start(String[] args), start(),
        startInternal() methods confusing in naming and usage. Not
        directly related to your change of course, just a comment on the
        code.</div>
      <div><br>
      </div>
      <div>/Staffan<br>
        <div><br>
        </div>
        <div><br>
          <div>
            <div>On 10 okt 2013, at 13:38, Staffan Larsen <<a moz-do-not-send="true" href="mailto:staffan.larsen@oracle.com">staffan.larsen@oracle.com</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <blockquote type="cite">
              <meta http-equiv="Content-Type" content="text/html;
                charset=ISO-8859-1">
              <div style="word-wrap: break-word; -webkit-nbsp-mode:
                space; -webkit-line-break: after-white-space; ">Clicking
                on the link in this email takes me to the wrong webrev.
                The correct URL is in the text: <a moz-do-not-send="true" href="http://cr.openjdk.java.net/%7Eallwin/farvidss/8025638/webrev.00/">http://cr.openjdk.java.net/~allwin/farvidss/8025638/webrev.00/</a>
                <div><br>
                </div>
                <div>/Staffan</div>
                <div><br>
                  <div>
                    <div>On 10 okt 2013, at 12:42, Fredrik Arvidsson
                      <<a moz-do-not-send="true" href="mailto:fredrik.arvidsson@oracle.com">fredrik.arvidsson@oracle.com</a>>
                      wrote:</div>
                    <br class="Apple-interchange-newline">
                    <blockquote type="cite">
                      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
                      <div text="#000000" bgcolor="#FFFFFF"> Hi<br>
                        <br>
                        Please help me to review the changes below:<br>
                        <br>
                        Jira case: <a moz-do-not-send="true" href="https://bugs.openjdk.java.net/browse/JDK-8024423">https://bugs.openjdk.java.net/browse/JDK-8025638</a><br>
                        Webrev: <a moz-do-not-send="true" href="http://cr.openjdk.java.net/%7Eallwin/farvidss/8024423/webrev.00/">http://cr.openjdk.java.net/~allwin/farvidss/8025638/webrev.00/</a><br>
                        <br>
                        About this change.<br>
                        A previous change (<a moz-do-not-send="true" href="https://bugs.openjdk.java.net/browse/JDK-8010278">https://bugs.openjdk.java.net/browse/JDK-8010278</a>)
                        in the Tool.java class caused any tool deriving
                        from this base class return the wrong value to
                        the caller when failing. <br>
                        Changes were made to the Tool.java class and to
                        the derived tool implementation classes to
                        handle errors/exceptions during execution and
                        ensure that the tool returns 1 to the caller if
                        it fails, and 0 if it succeeds. <br>
                        <br>
                        Previously failed Aurora tests have been run
                        using UTE and verified to PASS.<br>
                        <br>
                        Cheers<br>
                        /Fredrik </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div></div></body></html>