0 Replies Latest reply on Nov 30, 2009 7:51 AM by Paul Reilly

    [svn:fx-trunk] 12270: * Another batch of compiler fixes.

    Paul Reilly Level 1

      Revision: 12270

      Revision: 12270

      Author:   preilly@adobe.com

      Date:     2009-11-30 07:51:06 -0800 (Mon, 30 Nov 2009)

      Log Message:

      ***********

      • Another batch of compiler fixes.

       

      QE notes:

      Doc notes:

      Bugs: SDK-24083, SDK-24084, SDK-23721, SDK-24386

      Reviewer: Corey

      Tests run: checkintests

      Is noteworthy for integration: yes, fixes DMV issue and FB issue

      Code-level description of changes:

       

        modules/compiler/src/java/flex2/tools/PreLink.java

       

          Revert a last minute change, which I made before revision 12043,

          by moving the while loop back outside the for loop.  Otherwise the

          iterator only gets created once inside the for loop.  This fixes

          SDK-23721 and SDK-24386.

       

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

       

          Modified stripRedeclaredManagementVars() by checking if classInfo

          is null before using it.  It can be null when errors have

          occurred.  This helped reveal the problem with SDK-24083 and

          SDK-24084.

       

        modules/compiler/src/java/flex2/compiler/SourceList.java

       

          Modified calculateRelativePath() to better handle multiple

          directories which overlap by name.  This fixes SDK-24083 and

          SDK-24084.

       

      Ticket Links:

      ***********

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

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

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

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

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

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

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

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

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

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

       

      Modified Paths:

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

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourceList.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java

          flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java