JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1188 order of static fields
Author: user BeniBela
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

The 6.0.1 version used to duplicate static field initializations. So you had public static var REG_MAP:Object = { "command":commandRegExp, "war":warRegExp, "tech":techRegExp, "build":buildRegExp }; { REG_MAP:Object = { "command":commandRegExp, "war":warRegExp, "tech":techRegExp, "build":buildRegExp } }; 8.0.1 only shows the first initialization, which seems better. However, it does not pay attention to the order of the fields. E.g. if warRegExp is a regexp and is put after REG_MAP, it is still null, when REG_MAP is initialized. So after recompilation get the wrong value in REG_MAP and 8.0.1 is worse than 6.0.1
admin
I don't know whether it's still related as flash is gone, but this was fixed in version 13.0.2. Fields that depend on other fields are now declared later. This is probably caused by obfuscation of the file - obfuscator reordered these fields to make it wrong.
State: new→upgraded
admin
State: upgraded→closed