Menu

Commit [r1460]  Maximize  Restore  History

Fix bug related to validation of plugin versions. The fix is to load a dynamic plugin SWF twice. The first time it's loaded into a separate ApplicationDomain, so that the class types are not merged (and Version.version will not have identical values for player and plugin). If the version types are consistent, then the plugin is loaded a second time, this time into the same SecurityDomain (so that class types are merged). The second load should pull the SWF from the cache, minimizing the overhead. The downside is that the SWF will be initialized twice.

briggs@adobe.com 2010-03-30

changed /osmf/trunk/framework/OSMF/org/osmf/elements/SWFLoader.as
changed /osmf/trunk/framework/OSMF/org/osmf/elements/loaderClasses/LoaderUtils.as
changed /osmf/trunk/framework/OSMF/org/osmf/media/pluginClasses/DynamicPluginLoader.as
changed /osmf/trunk/framework/OSMF/org/osmf/media/pluginClasses/PluginLoader.as
changed /osmf/trunk/framework/OSMFIntegrationTest/org/osmf/media/pluginClasses/TestPluginManagerIntegration.as
changed /osmf/trunk/framework/OSMFIntegrationTest/org/osmf/utils/IntegrationTestUtils.as
/osmf/trunk/framework/OSMF/org/osmf/elements/SWFLoader.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/elements/loaderClasses/LoaderUtils.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/media/pluginClasses/DynamicPluginLoader.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMF/org/osmf/media/pluginClasses/PluginLoader.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFIntegrationTest/org/osmf/media/pluginClasses/TestPluginManagerIntegration.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/OSMFIntegrationTest/org/osmf/utils/IntegrationTestUtils.as Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.