Updated Branches: refs/heads/develop 774cdd7b6 -> 638fd912a
FLEX-16235 Fixed issue with XML caching in getClassInfo Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/25f77559 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/25f77559 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/25f77559 Branch: refs/heads/develop Commit: 25f77559a2c8d098d5fccd4ed2aa5e80af6640d0 Parents: 531f7f2 Author: Justin Mclean <[email protected]> Authored: Sat Apr 20 11:36:50 2013 +1000 Committer: Justin Mclean <[email protected]> Committed: Sat Apr 20 11:36:50 2013 +1000 ---------------------------------------------------------------------- .../projects/framework/src/mx/utils/ObjectUtil.as | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/25f77559/frameworks/projects/framework/src/mx/utils/ObjectUtil.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as index 5f87c39..ae897e9 100644 --- a/frameworks/projects/framework/src/mx/utils/ObjectUtil.as +++ b/frameworks/projects/framework/src/mx/utils/ObjectUtil.as @@ -1134,7 +1134,8 @@ public class ObjectUtil } // For normal, non-dynamic classes we cache the class info - if (!dynamic) + // Don't cache XML as it can be dynamic + if (!dynamic && className != "XML") { cacheKey = getCacheKey(obj, excludes, options); CLASS_INFO_CACHE[cacheKey] = result;
