0 Replies Latest reply on Apr 2, 2009 11:57 AM by (Paul_Reilly)

    [svn:fx-trunk] 5886: * Some deprecation related fixes.

    Level 1
      Revision: 5886
      Author: preilly@adobe.com
      Date: 2009-04-02 12:57:10 -0700 (Thu, 02 Apr 2009)

      Log Message:
      -----------
      * Some deprecation related fixes.

      tests Passed: checkintests, mxmlcunit Deprecation

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-18802

      API Change: NO

      Reviewer: Peter D.

      Code-level description of changes:

      asc/src/java/macromedia/asc/embedding/LintEvaluator.java

      Removed ignoreSynthesizedCode, it's setter, and it's usage,
      because it wasn't working.

      compiler/src/java/flex2/compiler_en.properties

      Added as3.SyntaxTreeEvaluator.VariableLevelResourceBundleMetaDataDeprecated.

      compiler/src/java/flex2/compiler/as3/As3Compiler.java

      Removed LintEvaluator.setIgnoreSynthesizedCode() call.

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

      Modified processResourceBundle() to report a deprecated warning
      for variable level ResourceBundle metadata.

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

      Modified addDescriptorInitializerFragments() to associate a unique
      position with the type's GetExpressionNode, so if it results in an
      error or warning, we report the Mxml line number.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-18802

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties