Copy link to clipboard
Copied
My team is still impacted greatly by a lingering ASC 2.0 compiler bug. This is a bug that unpredictably results in build artifacts that throw Type Coercion errors at runtime. This issue affects both Flash Player and iOS targets.
Bug 3562040 was opened almost three years ago on this, as well as the related thread here: Type Coercion failures with MovieClips in ASC 2.0 And this issue was reportedly a high priority issue 5 months ago, but I have yet to see any note about it in the AIR 19, 20, or 21-beta release notes since: What happened to this known issue in AIR 18? Was it fixed? (ASC 2.0, Type Coercion: 3578605) Is there any progress to report, or an updated timeframe in which we can expect a fix? Is there any way we can help the Flash/AIR team get to the bottom of this?
I don't think I can over-stress how impactful this issue is to our development cycle. It affects our productivity, it affects team morale. And I would challenge anyone to feel good about choosing a technology that is dependent on a closed-source SDK when critical regressions can be unpredictably introduced into your product by its compiler, independent from any change to source. And especially when the issue goes unaddressed for years. I don't see how new features in the runtime can be prioritized when issues like this linger. Can we please get attention on this?
Thank you,
Russell
Copy link to clipboard
Copied
Hi Russell,
Our team is still working on this bug, but we've recently discovered a potential workaround. Could you try replacing the \AIRSDK\lib\mxmlc-cli.jar file with the one in the zip file linked below. We'd be very interested in hearing the results.
Thanks,
Chris
Copy link to clipboard
Copied
Thanks chris.campbell. We will try this out and let you know the results.
Copy link to clipboard
Copied
chris.campbell, early results are not good. After patching the SDK, we have since had a runtime break occur in our AIR app, which manifests both on iPad (the .ipa target), as well as on Mac (the .air target, wrapping the same main swf artifact). The bad swf actually stems from a particular swc library, which is an intermediary artifact in the build process. Once that swc was rebuilt, the app no longer produces the runtime issue.
Thoughts/Questions:
@
Thank you,
Russell
Copy link to clipboard
Copied
Hi Russell,
Thanks for pointing out. The jar shared won't impact as you mentioned.
I am sharing compiler.jar which should give you the expected results.
https://www.dropbox.com/s/vlvmcwnfycowse7/compiler.jar.zip?dl=0
Thanks for your time. Can you please give it a try and let us know.
Regards,
Nipun
Adobe Air Team
Copy link to clipboard
Copied
Thank you jindal.nipun . I will try this out and get back to you.
Copy link to clipboard
Copied
We have not integrated this into a full build just yet. I'll let you know if we see problems there.
Copy link to clipboard
Copied
jindal.nipun and team,
We have put our app through extensive testing and are very pleased with the results from this patch. We have found no irregularities between builds.
When should we expect to see this fix as part of an SDK release?
Thanks!
Russell