0 Replies Latest reply on Aug 18, 2008 8:05 AM by (Paul_Reilly)

    [svn] 2870: Fixed issue with benchmarking when an error occurs and another issue

      Revision: 2870
      Author: preilly@adobe.com
      Date: 2008-08-18 09:05:57 -0700 (Mon, 18 Aug 2008)

      Log Message:
      -----------
      Fixed issue with benchmarking when an error occurs and another issue
      with capturing benchmark data from a project with more than one
      application and/or library.

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: NO

      API Change: NO

      Reviewer: gauravj

      Code-level description of changes:

      oem/Application.java
      oem/Library.java
      oem/Builder.java

      Added getBenchmark() support.

      Compc.java
      Mxmlc.java
      Fcsh.java

      Only call Benchmark.stopTime() in finally blocks if the error
      count is zero.

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Fcsh.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Mxmlc.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Builder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java