0 Replies Latest reply on Mar 8, 2010 8:05 AM by Paul Reilly

    [svn:fx-trunk] 14622: * Two unrelated compiler fixes.

    Paul Reilly Level 1

      Revision: 14622

      Revision: 14622

      Author:   preilly@adobe.com

      Date:     2010-03-08 08:05:27 -0800 (Mon, 08 Mar 2010)

      Log Message:

      ***********

      • Two unrelated compiler fixes.

       

      QE notes:

      Doc notes:

      Bugs: SDK-25206, SDK-25619

      Reviewer: pfarland

      Tests run: checkintests

      Is noteworthy for integration: no

      Code-level description of changes:

       

        media/FontTranscoder.java

       

          Modified getURL() to handle all non-LocalFile VirtualFiles by

          piping the input stream to a temp file and then returning the URL

          for the temp file.  We were previously only handling SwcFile

          instances, but due to global SWC cache optimizations,

          InMemoryFile's can now be passed in.

       

        CompilerAPI.java

       

          Modified validateCompilationUnits() to artificially insert

          "Namespace" as a dependency, so we can detect when a recompilation

          is necessary when switching between airglobal.swc and

          playerglobal.swc.

       

      Ticket Links:

      ***********

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

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

       

      Modified Paths:

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

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

          flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java