What steps will reproduce the problem?
1. Adobe Air SDK package ipa
2. SDK15 without -useLegacyAOT yes
3. SDK16
What is the expected output? What do you see instead?
Compilation failed while executing : compile-abc
Please provide any additional information below.
TextFormat.as
The functoin skipWhitespace() has an infinite loop.
You can fix this the bug by Using:
private static function skipWhitespace(source:ISource):void {
for (;; ) {
const b:int = source.read()
switch (b) {
case 0x20:/* space */
case 0x09:/* \t */
case 0x0a:/* \n */
case 0x0d:/* \r */
continue
case 0x23:/* # */
for (;;) {
var isLineEnd:Boolean = false;
switch (source.read()) {
case 0x0a:/* \n */
case 0x0d:/* \r */
isLineEnd = true;
break;
default:
break;
}
if(isLineEnd)
{
break;
}
}
break;
default:
source.unread(b)
return
}
}
}
Original issue reported on code.google.com by shunchen...@gmail.com on 23 Jan 2015 at 12:26
Original issue reported on code.google.com by
shunchen...@gmail.com
on 23 Jan 2015 at 12:26