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

#319 AS3: Finally statement exit handling (switch)
Author: user freddie
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: closed Help

> What steps will reproduce the problem? Decompile file: TestFfDec.swf Result of class to check: Test method to check: function test01() > What is the expected output? What do you see instead? EXPECTED: --------------------------------------- public static function test01() : void { try { var i:int =0; var b: Boolean = true; if (i > 0) { while (SomeUtilClass.staticMethod()) { if (b) { return; } } } i++; } catch (e:Error) { } finally { } }// end function ACTUAL: ---------------------------------------------- public static function test01() : void { var i:int = 0; var b:Boolean = false; try { i = 0; b = true; if(i > 0) { while(true) { if(SomeUtilClass.staticMethod()) { if(b) { break; } continue; } } while(true) { switch(i <= 0) { case 0: return; case 1: return; case 2: throw _loc3_; } } } i++; } catch(e:Error) { while(true) { } } continue loop4; } > What version of the product are you using? On what operating system? Ffdec version: 1.7.0, Windows7x64 > Please provide any additional information below. Attach the file you have problem with if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE Please see my attachments including the Flex source code and its SWF
DownloadTestFfDec.mxml (438 B)DownloadSomeUtilClass.as (123 B)DownloadTest.as (1 KiB)DownloadTestFfDec.swf (559 KiB)
admin
Title: The while(expression) became while(true) with different break logic→AS3: Finally statement exit handling (switch)
admin
State: new→opened
admin
version 1.7.0u1 was released. this should be fixed
State: opened→upgraded
user
OK, confirmation tested
admin
State: upgraded→closed