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

#1125 Missing finally block when decompiling try{}finally{} block
Author:
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? Decompile the library.swf file attached > What is the expected output? What do you see instead? EXPECTED: Class com.ibm.ilog.elixir.diagram.graphlayout.circular.ClusterLayoutAlgo is decompile successfully to a re-compilable source class. ACTUAL: The decompiled source class is not re-compilable because of missing catch{} block in method layout(redraw:Boolean) > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 7.1.2 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. See attachment
Downloadlibrary.swf (3,675 KiB)
Here is the output method: public function layout(redraw:Boolean) : void { var offset:Number = NaN; var maxNumberOfPerm:int = 0; var i:int = 0; var model:IGraphLayoutModel = this._layout.getGraphModel(); var rootModel:IGraphLayoutModel = model.root; if(rootModel == null) { rootModel = model; } try { this.collectData(model,rootModel); offset = this._layout.offset; maxNumberOfPerm = this._layout.maxNumberOfPermutations; for(i = 0; i < this._clusters.length; i++) { this._clusters[i].calcRadius(offset); } for(i = 0; i < this._clusters.length; i++) { this._clusters[i].layout(maxNumberOfPerm,redraw,true); this._layout.increasePercentageComplete(i * 100 / this._clusters.length); this._layout.onLayoutStepPerformed(false,false); } for(i = 0; i < this._clusters.length; i++) { this._clusters[i].cleanup(); } this._layout.increasePercentageComplete(100); this._layout.onLayoutStepPerformed(false,false); this._layout.getLayoutReport().code = GraphLayoutReport.LAYOUT_DONE; this._clusters = null; } }
Fixed in the latest nightly, please try it
Title: Missing catch block when decompiling try{}catch{} block→Missing finally block when decompiling try{}finally{} block
State: new→upgraded
I close this issue due to inactivity. Please create new issue if problem still exists.
State: upgraded→closed