0 Replies Latest reply on Oct 24, 2008 6:35 AM by (Paul_Reilly)

    [svn] 3868: Fixed player asserts caused by incorrect debug info coming from Flex's

    Level 1
      Revision: 3868
      Author: preilly@adobe.com
      Date: 2008-10-24 07:35:38 -0700 (Fri, 24 Oct 2008)

      Log Message:
      -----------
      Fixed player asserts caused by incorrect debug info coming from Flex's
      bytecode emitter.

      tests Passed: checkintests, fdbunit tests pass equally as well before
      and after this change.

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-16948

      API Change: NO

      Reviewer: Erik

      Code-level description of changes:

      modules/compiler/src/java/flex2/compiler/as3/BytecodeEmitter.java

      Modified DebugLine() to short circuit like DebugFile() if the
      source is not debuggable. Also only call super.DebugLine() if the
      newLine is greater than zero. The player doesn't like zero line
      numbers.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-16948

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/BytecodeEmitter.java