Merge remote-tracking branch 'origin/develop' into develop
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 5aaadc3..b82ea1f 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,3 +1,45 @@
+Apache Flex 4.17.0
+==================
+
+
+New Features
+------------
+
+
+AIR and Flash Player Support
+----------------------------
+
+
+Bug Fixes
+---------
+FLEX-35329 Initializing member variable/constant that is [Deprecated]
+ incorrectly throws extra warning
+
+Known Issues
+------------
+
+Adobe Flash Builder Integration
+
+Adobe Flash Builder 4.7 and Adobe Flash Builder 4.6 both contain a bug where,
+when generating the .mxml file for a new project that uses Apache Flex SDK
+4.10.0 or later Spark Application, Flash Builder will incorrectly insert the
+attribute:
+
+ layout="absolute"
+
+This results in a compile error in the new project. The remedy is to simply
+remove the errant attribute.
+
+The following wiki page has been set up to contain the latest news on Adobe's
+attempt to correct this problem:
+
+ https://cwiki.apache.org/confluence/display/FLEX/Adobe+Flash+Builder+'New+Project'+Bug
+
+Adobe has provided a patch for Flash Builder 4.7 that resolves this issue:
+
+ http://helpx.adobe.com/flash-builder/kb/flex-new-project-issue--.html
+
+
Apache Flex 4.16.0
==================
diff --git a/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java b/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
index de2ea96..359af64 100644
--- a/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
+++ b/modules/asc/src/java/macromedia/asc/embedding/LintEvaluator.java
@@ -749,8 +749,14 @@
boolean is_unbound_ref = is_unbound_dotref || is_unbound_lexref || is_unbound_globalref;
- if (slot != null )
+ if (slot != null && !(node.expr instanceof QualifiedIdentifierNode))
+ {
+ //if it's a qualified identifier node, then it's a member/static
+ //variable on a class that is being initialized, like this:
+ //public var memberVar:String = "hi";
+ //this case should not have a warning!
checkDeprecatedSlot(cx, node.expr, node.ref, slot);
+ }
// special case to avoid warning on access to a Class's prototype property. This
// property can't be expressed in global.as because you can't both declare a class