0 Replies Latest reply on Apr 15, 2008 5:37 PM by (Paul_Reilly)

    [svn] 1237: Fixed some cases where Context' s were incorrectly getting reused.

    Level 1
      Revision: 1237
      Author: preilly@adobe.com
      Date: 2008-04-15 18:37:39 -0700 (Tue, 15 Apr 2008)

      Log Message:
      -----------
      Fixed some cases where Context's were incorrectly getting reused.
      This fixes the FlexStore compilation error in the performance
      testsuite.

      checkintests Passed: YES

      Needs QA: Not yet

      Needs DOC: NO

      API Change: NO

      Code-level description of changes:

      lib/asc.jar

      built with NodeFactory.java and Context.java changes.

      modules/swfutils/src/java/flash/swf/tools/SyntaxTreeDumper.java

      Added evaluate(Context, ApplyTypeExprNode).

      modules/asc/src/java/macromedia/asc/parser/NodeFactory.java

      Added setContext().

      modules/asc/src/java/macromedia/asc/util/Context.java

      Modified getNodeFactory() to set the NodeFactory's context if a
      new one isn't created.

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

      Modified parse() to null out the context's input before returning.

      modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.java

      Modified generateWatcherSetupUtilAST() to clean up the NodeFactory
      before returning.

      Added some asserts.

      modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java

      Added some asserts.

      modules/compiler/src/java/flash/swf/tools/as3/EvaluatorAdapter.java

      Added evaluate(Context, ApplyTypeExprNode).

      Modified Paths:
      --------------
      flex/sdk/trunk/lib/asc.jar
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/NodeFactory.java
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/Context.java
      flex/sdk/trunk/modules/compiler/src/java/flash/swf/tools/as3/EvaluatorAdapter.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SyntaxTreeDumper.java