<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/jode/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/jode/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/jode/bugs/</id><updated>2009-09-03T01:46:48Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Exception while decompiling:jode.AssertError: initial stack </title><link href="https://sourceforge.net/p/jode/bugs/99/" rel="alternate"/><published>2009-09-03T01:46:48Z</published><updated>2009-09-03T01:46:48Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9c301cdb20f83b96559509c1bd11a523f684611c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1529)&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1549)&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1549)&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1515)&lt;br /&gt;
at jode.decompiler.MethodAnalyzer.analyzeCode(MethodAnalyzer.java:580)&lt;br /&gt;
at jode.decompiler.MethodAnalyzer.analyze(MethodAnalyzer.java:652)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.analyze(ClassAnalyzer.java:352)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.dumpJavaFile(ClassAnalyzer.java:624)&lt;br /&gt;
at jode.decompiler.Decompiler.decompile(Decompiler.java:192)&lt;br /&gt;
at jode.swingui.Main.run(Main.java:204)&lt;br /&gt;
at java.lang.Thread.run(Unknown Source)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Set classpath dialog</title><link href="https://sourceforge.net/p/jode/bugs/98/" rel="alternate"/><published>2009-08-25T17:50:30Z</published><updated>2009-08-25T17:50:30Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net892229da5f8b01a2e54bfd3481f62b91da030c12</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;1. Window does not have title.&lt;br /&gt;
2. auto text in textbox contains commas instead of semi-colons.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>kewHJexl</title><link href="https://sourceforge.net/p/jode/bugs/97/" rel="alternate"/><published>2008-09-18T06:38:44Z</published><updated>2008-09-18T06:38:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net931e9715cc5e70a744af2115c55341cdcb434db7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bg84Tc hf6Snb9Ula10Hdf74n&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Exception while decompiling some classes in package</title><link href="https://sourceforge.net/p/jode/bugs/96/" rel="alternate"/><published>2008-01-28T17:05:23Z</published><updated>2008-01-28T17:05:23Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net20df0d872f965e851d1c46bd295a5e4b984e3f56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;(My email: sasha.kravtsov@gmail.com)&lt;/p&gt;
&lt;p&gt;While decompiling the working! .jar package some files (not all) produced exception like this &lt;br /&gt;
(there are more such classes, if it is not a known issue, mail me and I'll send you more classes)&lt;br /&gt;
Please let me know what is the status of it... thanks.&lt;/p&gt;
&lt;p&gt;Exception while decompiling:jode.AssertError: initial stack is null&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1529)&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1549)&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1549)&lt;br /&gt;
at jode.flow.FlowBlock.mapStackToLocal(FlowBlock.java:1515)&lt;br /&gt;
at jode.decompiler.MethodAnalyzer.analyzeCode(MethodAnalyzer.java:580)&lt;br /&gt;
at jode.decompiler.MethodAnalyzer.analyze(MethodAnalyzer.java:652)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.analyze(ClassAnalyzer.java:352)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.dumpJavaFile(ClassAnalyzer.java:624)&lt;br /&gt;
at jode.decompiler.Decompiler.decompile(Decompiler.java:192)&lt;br /&gt;
at jode.swingui.Main.run(Main.java:204)&lt;br /&gt;
at java.lang.Thread.run(Unknown Source)&lt;br /&gt;
--------------------------------------&lt;br /&gt;
Dead jump? null in jode.flow.FlowBlock@e4bb3c: 67-111&lt;br /&gt;
local_4_c063ad = POP;&lt;br /&gt;
throw m.a(local_4_c063ad,&lt;br /&gt;
new java.lang.StringBuffer().append("m.A(").append&lt;br /&gt;
(local_0_e0e515).append&lt;br /&gt;
(',').append&lt;br /&gt;
(local_1_dfcb47).append&lt;br /&gt;
(',').append&lt;br /&gt;
(local_2_c792d4).append&lt;br /&gt;
(',').append&lt;br /&gt;
(local_3_78dc4c != null ? "{...}" : "null").append&lt;br /&gt;
(')').toString());&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>StackOverflowError decompiling obfuscated class</title><link href="https://sourceforge.net/p/jode/bugs/95/" rel="alternate"/><published>2008-01-10T19:10:20Z</published><updated>2008-01-10T19:10:20Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netcbe4208af89067b2cc49cbf24a9a0233bbc0d441</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Decompiling the class file produces (reproducable) the below StackOverflowException.&lt;/p&gt;
&lt;p&gt;This is a class file is from the Tonicpont PPT Viewer - a very program using GPL'ed code but I haven't been able to find any source of it so far since Google sold the company...&lt;br /&gt;
Jad also hasn't been able to make any sense out of the bytecode.&lt;/p&gt;
&lt;p&gt;The full code of the metioned program can be downloaded here, although I'm not sure for how long since development has stopped some time ago:&lt;br /&gt;
&amp;gt; &lt;a href="http://downloads.tonicsystems.com/viewer/tonicpoint.jar" rel="nofollow"&gt;http://downloads.tonicsystems.com/viewer/tonicpoint.jar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I've tried increasing the Java Runtime's Stack but without any luck, the stack overflow only occures later.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>help pls</title><link href="https://sourceforge.net/p/jode/bugs/93/" rel="alternate"/><published>2007-01-28T10:29:09Z</published><updated>2007-01-28T10:29:09Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net5cee8efeb0c65dd58e493b592f32a7b4f166a577</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;getting error on trying to obfuscate&lt;/p&gt;
&lt;p&gt;used before: 221448&lt;br /&gt;
Loading and preserving classes&lt;br /&gt;
Exception in thread "main" java.lang.StackOverflowError&lt;br /&gt;
at java.io.File.&amp;lt;init&amp;gt;(Unknown Source)&lt;br /&gt;
at jode.bytecode.SearchPath.isDirectory(SearchPath.java:477)&lt;br /&gt;
at jode.bytecode.ClassInfo.isPackage(ClassInfo.java:123)&lt;br /&gt;
at jode.obfuscator.PackageIdentifier.loadMatchingClasses(PackageIdentif&lt;br /&gt;
er.java:191)&lt;br /&gt;
at jode.obfuscator.PackageIdentifier.loadMatchingClasses(PackageIdentif&lt;br /&gt;
er.java:223)&lt;br /&gt;
at jode.obfuscator.PackageIdentifier.loadMatchingClasses(PackageIdentif&lt;br /&gt;
er.java:223)&lt;br /&gt;
at jode.obfuscator.PackageIdentifier.loadMatchingClasses(PackageIdentif&lt;br /&gt;
er.java:223)&lt;br /&gt;
at jode.obfuscator.PackageIdentifier.loadMatchingClasses(PackageIdentif&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IfThenElseBlock hides its condition field</title><link href="https://sourceforge.net/p/jode/bugs/92/" rel="alternate"/><published>2007-01-17T00:30:29Z</published><updated>2007-01-17T00:30:29Z</updated><author><name>Trevor Harmon</name><uri>https://sourceforge.net/u/vocaro/</uri></author><id>https://sourceforge.neta1aa0710c1edaad6c2c5f4cb2f4af9f01f9d0e85</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Certain StructuredBlock subclasses have a "cond" field of type Expression. For instance, LoopBlock has a "cond" field that can be obtained by calling LoopBlock.getCondition().&lt;/p&gt;
&lt;p&gt;IfThenElseBlock also has a "cond" field but unfortunately it has no getCondition() method. This is a problem for tools built on top of JODE that need access to the condition field.&lt;/p&gt;
&lt;p&gt;The fix is easy: Just add a simple accessor method to IfThenElseBlock.java, like this:&lt;/p&gt;
&lt;p&gt;public Expression getCondition() {&lt;br /&gt;
return cond;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bytecode instructions not preserved</title><link href="https://sourceforge.net/p/jode/bugs/91/" rel="alternate"/><published>2007-01-12T10:13:02Z</published><updated>2007-01-12T10:13:02Z</updated><author><name>Trevor Harmon</name><uri>https://sourceforge.net/u/vocaro/</uri></author><id>https://sourceforge.netffe29937e57a20d867d2fc1500270d416fce2aa8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;After JODE completes its analysis, all of the bytecode instructions it has read from the class files are discarded. This is a problem for building tools on top of JODE that need the bytecode data, such as WCET analyzers.&lt;/p&gt;
&lt;p&gt;The attached patch fixes that problem, based on advice from Jochen. See: &lt;a href="http://sourceforge.net/forum/message.php?msg_id=4050121"&gt;http://sourceforge.net/forum/message.php?msg_id=4050121&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The patch simply modifies StructuredBlock.java so that it holds a list of bytecode instructions corresponding to the block. It also modifies Opcodes.java so that when blocks are created, a handle to the bytecode instruction is passed to it. This required changing several subclasses of StructuredBlock to take in an instruction parameter. Finally, the StrucutredBlock.moveDefinitions function was implemented to copy the instructions so that they are preserved during transformations.&lt;/p&gt;
&lt;p&gt;(The moveDefinitions function should probably be renamed copyBytecode or something so that it better reflects the purpose of the function. But I left that alone for now.)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ClassInfo.read prevents proper inner class recognition</title><link href="https://sourceforge.net/p/jode/bugs/90/" rel="alternate"/><published>2007-01-07T13:00:24Z</published><updated>2007-01-07T13:00:24Z</updated><author><name>Peter Arrenbrecht</name><uri>https://sourceforge.net/u/userid-1534936/</uri></author><id>https://sourceforge.netb27707caf815db5803030a0d4580555e29c78164</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In ClassInfo.read, near the end of the method, there is&lt;/p&gt;
&lt;p&gt;/*&lt;br /&gt;
* All classes that are mentioned in the constant pool must have an empty outer class info.&lt;br /&gt;
* This is specified in the 2nd edition of the JVM specification.&lt;br /&gt;
*/&lt;br /&gt;
Iterator iter = cpool.iterateClassNames();&lt;br /&gt;
while (iter.hasNext()) {&lt;br /&gt;
ClassInfo ci = classpath.getClassInfo( (String) iter.next() );&lt;br /&gt;
if (ci.status &amp;lt; OUTERCLASS) ci.mergeOuterInfo( null, null, -1, false );&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This breaks proper decompilation of a class that implements a static inner interface of an outer class declared in a separate package. The interface is listed as&lt;/p&gt;
&lt;p&gt;JodeTest$Foo&lt;/p&gt;
&lt;p&gt;instead of&lt;/p&gt;
&lt;p&gt;JodeTest.Foo&lt;/p&gt;
&lt;p&gt;Here's the setup:&lt;/p&gt;
&lt;p&gt;package temp;&lt;br /&gt;
public class JodeTest {&lt;br /&gt;
public static interface Foo     {&lt;br /&gt;
void foo();&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;package temp_other;&lt;br /&gt;
import temp.JodeTest;&lt;br /&gt;
public final class Bar implements JodeTest.Foo {&lt;br /&gt;
public void foo() { /* dummy */ }&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;So: why is this code there? And what is the exact reference to the JVM spec? The only thing I found is in &lt;a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html" rel="nofollow"&gt;http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html&lt;/a&gt; in chapter 4.7.5, where it says: "If the constant pool of a class or interface refers to any class or interface that is not a member of a package, its ClassFile structure must have exactly one InnerClasses attribute in its attributes table." But that does not seem to be it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Final "flush" in Decompiler.decompile() is bad</title><link href="https://sourceforge.net/p/jode/bugs/89/" rel="alternate"/><published>2007-01-02T11:02:48Z</published><updated>2007-01-02T11:02:48Z</updated><author><name>Peter Arrenbrecht</name><uri>https://sourceforge.net/u/userid-1534936/</uri></author><id>https://sourceforge.netd6c10d1b4157a6468c4211ac6f6eed4886453ea3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The final "writer.flush()" in method "Decompiler.decompile(...)" collides with the final "writer.close()" in "ClassAnalyzer.dumpJavaFile(...)". I think the former should be removed.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>