0 Replies Latest reply on Mar 31, 2008 2:05 PM by (Jono_Spiro)

    [svn] 1040: compiler: Part two of adding Java generics to the compiler

    Level 1
      Revision: 1040
      Author: jspiro@adobe.com
      Date: 2008-03-31 15:05:23 -0700 (Mon, 31 Mar 2008)

      Log Message:
      -----------
      compiler: Part two of adding Java generics to the compiler
      * I apologize (profusely!) if this causes a lot of merge conflicts for you
      * All compiler unit tests pass
      * If you get ClassCastExceptions or RTEs please report them to me; unnecessary casts have been removed, which could expose bugs, and may cause RTEs.

      Bugs: No
      QA: Yes, if Gaurav feels we should re-test any differently. Otherwise no.
      Doc: No

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flash/css/FontFaceRule.java
      flex/sdk/trunk/modules/compiler/src/java/flash/css/RuleList.java
      flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleDeclaration.java
      flex/sdk/trunk/modules/compiler/src/java/flash/svg/SpriteTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/API.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/AssetInfo.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Assets.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilationUnit.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerSwcContext.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Context.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/DependencyGraph.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/FileSpec.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PersistenceStore.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/PreLink.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/ResourceBundlePath.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/ResourceContainer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourceList.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SourcePath.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/SymbolTable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Transcoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Attributes.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Class.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Compiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Method.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Namespace.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Variable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/BytecodeEmitter.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/Compiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/Configuration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedSkinClassEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedUtil.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/InheritanceEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SignatureEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/SyntaxTreeEvaluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableFirstPassEval uator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/BindableSecondPassEva luator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/ClassInfo.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingInfo.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/EvaluationWatcher.jav a
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/Info.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/TypeAnalyzer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/Watcher.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeClassInfo.ja va
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeFirstPassEva luator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEv aluator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/managed/ManagedClassInfo.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/managed/ManagedFirstPassEvalu ator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/managed/ManagedSecondPassEval uator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Attributes.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Class.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/MetaData.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Method.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Namespace.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/NodeMagic.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/TypeTable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/reflect/Variable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/API.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocConfigHandler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/PackagesConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/Configuration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/DefaultsConfigurator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/FontsConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/FramesConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MetadataConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/NamespacesConfiguration.ja va
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/PathResolver.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/CommandLineConfigurator.ja va
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationBuffer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/ConfigurationValue.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/FileConfigurator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/config/SystemPropertyConfigurator .java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/Compiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/Styles.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/Compiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/I18nUtils.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/PropertyText.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/PropertyTranslationFormat.ja va
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/io/ResourceFile.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/AbstractTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/DataTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/ImageTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/MovieTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/SkinTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/SoundTranscoder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Configuration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Element.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/LogAdapter.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Visitor.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/SyntaxAnalyzer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ApplicationBuilder.j ava
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArgumentsNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArrayNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/BindingNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/InlineComponentNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MetaDataNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ModelNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrimitiveNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/RequestNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Scanner.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ScriptNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StyleNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/SyntaxTreeBuilder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XMLListNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XMLNode.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/CodeFragmentList.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/FrameworkDefs.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Array.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/AtEmbed.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/DocumentInfo.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MovieClip.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/API.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/Swc.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcCache.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDependencySet.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDirectoryArchive.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcDynamicArchive.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcGroup.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcLibrary.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcMovie.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcScript.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/SwcWriteOnlyArchive.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/CatalogReader.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/CatalogWriter.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/catalog/ReadContext.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/zip/ExtraFieldUtils.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/zip/ZipEntry.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/zip/ZipFile.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/swc/zip/ZipOutputStream.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Algorithms.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Benchmark.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Edge.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Graph.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/IteratorList.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/LineNumberMap.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/LinkedQNameMap.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/LocalLogger.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MimeMappings.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiName.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiNameMap.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/MultiNameSet.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/NameMappings.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/OrderedProperties.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QNameList.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QNameMap.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/QNameSet.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/ThreadLocalToolkit.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/VelocityManager.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Vertex.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/Visitor.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/XMLStringSerializer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/API.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/CULinkable.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/Configuration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/ConsoleApplication.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/DependencyWalker.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/FlexMovie.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/linker/SimpleMovie.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/API.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/ASDocConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CommandLineConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compc.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CompcConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CompcPreLink.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Compiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CopyLocale.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/DigestConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/FontLicenseChecker.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/FontSnapshot.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/LicensesConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/MovieMetaData.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Optimizer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PostLink.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/SimpleShell.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Target.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/Tool.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/ToolsConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/flexbuilder/BuilderApplication.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/flexbuilder/BuilderLibrary.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Application.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Library.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Project.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/Toolkit.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/VirtualLocalFileSystem.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/ApplicationCompilerConf iguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/ApplicationData.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/BuilderLogger.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LibraryCompiler.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LibraryCompilerConfigur ation.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LibraryData.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.jav a
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMReport.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMUtil.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/fonts/JREFontManager.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/AbcPrinter.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/util/LRUCache.java