0 Replies Latest reply on Jun 2, 2009 1:24 PM by Peter Farland

    [svn:fx-trunk] 7496: Fixing infinite loop for Integer. MAX_VALUE when passed into SWFEncoder minBits.

    Peter Farland Level 3

      Revision: 7496

      Author:   pfarland@adobe.com

      Date:     2009-06-02 13:23:54 -0700 (Tue, 02 Jun 2009)

       

      Log Message:

      ***********

      Fixing infinite loop for Integer.MAX_VALUE when passed into SWFEncoder minBits.

       

      Also integrating FXGUtils source from build 536268 which includes fixes for:

          - 2327344: missing validation when private is not the last child in fxg file

          - 2327364: Missing validation when elements are present in fxg

          - 2341503: Ellipse with a transform matrix when set as a clip mask clips incorrectly

       

      QE: Yes, please check that the compiler does not hang for the bug scenario.

      Doc: No

      Checkintests: Pass

      Reviewer: Paul

      Bugs:

      SDK-21433 - Compiler hangs when encoding a SWF value of integer max value

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-21433

       

      Modified Paths:

      **************

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/FXGException.properties

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/GraphicContentNode.ja va

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/GraphicContext.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/transforms/MatrixNode .java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/sax/FXGSAXScanner.java

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java

          flex/sdk/trunk/modules/swfutils/src/java/flash/swf/SwfEncoder.java

       

      Added Paths:

      ***********

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/types/

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/types/FXGMatrix.java

       

      Removed Paths:

      *************

          flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/types/