More version updates
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/0e0220da Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/0e0220da Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/0e0220da Branch: refs/heads/master Commit: 0e0220da3495be9b859dc25e19d84ee7b18e8881 Parents: d474c80 Author: Piotr Zarzycki <piotrzarzyck...@gmail.com> Authored: Mon Oct 30 22:00:31 2017 +0100 Committer: Piotr Zarzycki <piotrzarzyck...@gmail.com> Committed: Mon Oct 30 22:00:31 2017 +0100 ---------------------------------------------------------------------- .../projects/framework/src/mx/core/FlexVersion.as | 16 +++++++++++++++- .../flex2/compiler/common/MxmlConfiguration.java | 6 ++++-- 2 files changed, 19 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0e0220da/frameworks/projects/framework/src/mx/core/FlexVersion.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/framework/src/mx/core/FlexVersion.as b/frameworks/projects/framework/src/mx/core/FlexVersion.as index 08650af..6eca239 100644 --- a/frameworks/projects/framework/src/mx/core/FlexVersion.as +++ b/frameworks/projects/framework/src/mx/core/FlexVersion.as @@ -58,7 +58,21 @@ public class FlexVersion */ public static const CURRENT_VERSION:uint = 0x04100000; - /** + /** + * The <code>compatibilityVersion</code> value of Flex 4.16.1, + * encoded numerically as a <code>uint</code>. + * Code can compare this constant against + * the <code>compatibilityVersion</code> + * to implement version-specific behavior. + * + * @langversion 3.0 + * @playerversion Flash 11 + * @playerversion AIR 3 + * @productversion Apache Flex 4.16.1 + */ + public static const VERSION_4_16_1:uint = 0x04100001; + + /** * The <code>compatibilityVersion</code> value of Flex 4.16, * encoded numerically as a <code>uint</code>. * Code can compare this constant against http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/0e0220da/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java ---------------------------------------------------------------------- diff --git a/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java b/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java index 08a9c0c..1614611 100644 --- a/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java +++ b/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java @@ -46,6 +46,8 @@ public class MxmlConfiguration // // 'compiler.mxml.compatibility-version' option // + public static final int VERSION_4_16_1 = 0x04100001; + public static final int VERSION_4_16 = 0x04100000; public static final int VERSION_4_15 = 0x040f0000; public static final int VERSION_4_14_1 = 0x040e0001; public static final int VERSION_4_14 = 0x040e0000; @@ -63,10 +65,10 @@ public class MxmlConfiguration public static final int VERSION_3_0 = 0x03000000; public static final int VERSION_2_0_1 = 0x02000001; public static final int VERSION_2_0 = 0x02000000; - public static final int CURRENT_VERSION = VERSION_4_15; + public static final int CURRENT_VERSION = VERSION_4_16_1; public static final int EARLIEST_MAJOR_VERSION = 3; public static final int LATEST_MAJOR_VERSION = 4; - public static final int LATEST_MINOR_VERSION = 15; + public static final int LATEST_MINOR_VERSION = 16; private int major = LATEST_MAJOR_VERSION; private int minor = LATEST_MINOR_VERSION;