I have found the problem.  It would have saved me much time if I had
properly checked that TLF was in sync on my machine.

A recent and seemingly correct change by Fred was the culprit.  You can’t
do null tests on Strings and Numbers with just "if (foo)”.  I’ve been
burned by this in the past.  See end of post if you want more details:

Fred, did you have a test case for FLEX-34611?  Can you verify that the
change I made is still a valid fix?  Or post the test case you used in the
JIRA issue and I’ll test it myself.

I’ve re-enabled Jenkins.  Cross your fingers for the next run!

-Alex

var foo:String;
if (foo)
  trace(“foo is not null”)
foo = “”;
if (foo)
  trace(“foo is not null”)
// neither trace statement is run because of [1]

[1] 
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/package.
html#Boolean()
[1] http://s.apache.org/26R



Reply via email to