|
|
|
[
Permlink
| « Hide
]
Jono - [10/23/07 01:43 PM ]
Could also be MXMLC of course, Brian doesn't know.
Brian has reported this actually occurs with Java 1.5 as well. It is a major issue for his team.
I can reproduce this in my FB dev environment running Java 1.4.2
Additional comment from Edwin van Rijkom:
The class that MXMLC was choking on, is an AS defined component inheriting from an MXML defined component. On merging the AS code with the MXML code, removing the inheritance, the compiler seems to recover. Seems - because this bug is inconsistent: we may just have had 'good luck' on the latest build. It might be good to forward the 'AS defined classes inheriting from MXML defined classes may cause MXMLC problems' hunch to the Flex team for investigation. I think we may well have 30+ classes doing this without any problems, but there seems to be a yet undefined context where this breaks the compiler, when running on Windows. I could not repro this with Flex M3, because I could not compile it due to airglobal incompatibilities. Switching to the latest flex sdk from mainline, latest AIR, latest MXMLC -- everything works, I even watched some MyToons.
It is difficult to be sure that I am reproducing this in 100% the same way you are, but I am able to compile AMP entirely from this changelist, including using MXML tags rather than programmatic instantiation. I had to make a few changes for compatibility: DRMAuthenticator: "event.text" -> (presumably) "event.detail" AMP-app.xml: Updated to latest schema. NetworkMonitor: monitor.acceptableStatuses -> monitor.acceptableStatusCodes ClientId: import flash.data.*; ClientLogManager: conn = new SQLConnection(true); -> conn = new SQLConnection(); EncryptedHashStorage: import flash.filesystem.EncryptedLocalStore; -> import flash.data.EncryptedLocalStore; I may have missed one file. My setup: FB Plugin 187248 to Eclipse 3.2.2; Windows XP; Flex SDK pointed at mainline; latest AIK as of 10 November in Flex SDK installed. Still seeing this with the latest builds (Flex Builder 189092, Flex SDK 189154, AIR 112807ap).
Able to reproduce in Builder build 189289 + SDK build 189147, on the Mac. I'll try to break it down into a simpler case.
This should be fixed in mainline by change 190636.
confirmed error does not happen in RC0 build 190958
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||