0 Replies Latest reply on Apr 2, 2009 9:05 AM by (Paul_Reilly)

    [svn:fx-trunk] 5874: * Fixed missing skins issue.

    Level 1
      Revision: 5874
      Author: preilly@adobe.com
      Date: 2009-04-02 10:05:11 -0700 (Thu, 02 Apr 2009)

      Log Message:
      * Fixed missing skins issue. The cause was that PreLink was trying to
      get a NameMappings object contained within the TypeTable stored in
      the main CompilationUnit's context. There were two problems with
      this. First, it only works for Mxml based main units and second,
      the TypeTable is only put into the context when the Mxml document is
      compiled from scratch. When an Mxml document comes from the
      incremental cache, a TypeTable isn't created and stored in the

      tests Passed: checkintests, incremental compilation of flex4test and
      running of the SWF's

      Needs QA: YES

      Needs DOC: NO

      API Change: NO

      Reviewer: Pete F.

      Code-level description of changes:


      Modified processMainUnit() to use CompilerAPI.getNameMappings()
      instead of getNameMappings().

      Removed getNameMappings().


      Modified getQualifiedClassName() by removing check for a null
      nameMappings and replaced it with an assert.


      Made TYPE_TABLE non-public, so it won't be used outside the scope
      of an Mxml compilation.

      Modified Paths: