0 Replies Latest reply on Dec 16, 2009 6:44 AM by Paul Reilly

    [svn:fx-trunk] 12994: * Fixes for two issues that were showing up in FB.

    Paul Reilly Level 1

      Revision: 12994

      Revision: 12994

      Author:   preilly@adobe.com

      Date:     2009-12-16 06:44:45 -0800 (Wed, 16 Dec 2009)

      Log Message:

      ***********

      • Fixes for two issues that were showing up in FB.

       

      QE notes:

      Doc notes:

      Bugs: SDK-24669, SDK-24686

      Reviewer: Corey

      Cycloner: George

      Tests run: checkintests

      Is noteworthy for integration: yes, fixes two FB issues.

      Code-level description of changes:

       

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

       

          Modified postRun() to swap in the root CompilationUnit's Logger

          when validating it's StyleContainer.  This allows the warnings

          from StylesContainer.validate() to be persisted across incremental

          compilations.  This fixes SDK-24686.

       

        modules/compiler/src/java/flex2/compiler/Source.java

       

          Made getLogger() public, so it could be called from PreLink.

       

        modules/compiler/src/java/flex2/compiler/CompilerAPI.java

       

          Modified compile() to check forcedToStop() after each PreLink

          batch.  This fixes SDK-24669.

       

      Ticket Links:

      ***********

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

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

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

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

       

      Modified Paths:

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

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

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

          flex/sdk/trunk/modules/compiler/src/java/flex2/linker/CULinkable.java

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