<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Bad jode output (from a 1.1 class set)</title><link href="https://sourceforge.net/p/jode/support-requests/2/" rel="alternate"/><link href="https://sourceforge.net/p/jode/support-requests/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/jode/support-requests/2/</id><updated>2002-06-24T15:05:51Z</updated><subtitle>Recent changes to 2: Bad jode output (from a 1.1 class set)</subtitle><entry><title>Bad jode output (from a 1.1 class set)</title><link href="https://sourceforge.net/p/jode/support-requests/2/" rel="alternate"/><published>2002-06-24T15:05:51Z</published><updated>2002-06-24T15:05:51Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netfc6350f83ed0b3932521bda720899e731728faa6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using Jode 1.1.1 to convert an app's libraries &lt;br /&gt;
from Java 1.1 to a more modern platform (1.4.0).&lt;/p&gt;
&lt;p&gt;The jar file in question is attacted.&lt;br /&gt;
Note these are version Java 1.1 class files&lt;/p&gt;
&lt;p&gt;The command I executed was&lt;br /&gt;
java jode.decompiler.Main -d c:\tmp\source &lt;br /&gt;
\tmp\KLG.jar&lt;/p&gt;
&lt;p&gt;successfully executed but in several classes &lt;br /&gt;
produced code (see jclass.table.JCCellRange) like&lt;/p&gt;
&lt;p&gt;((UNCONSTRUCTED)&lt;br /&gt;
jccellrange_14_).JCCellRange(i_16_, i_17_, i_18_,&lt;/p&gt;
&lt;p&gt;i &amp;amp;lt; i_15_ ? i : i_15_);&lt;/p&gt;
&lt;p&gt;which, on human examination, should have been&lt;/p&gt;
&lt;p&gt;jccellrange_14_ = new JCCellRange(i_16_, &lt;br /&gt;
i_17_, i_18_, // clr fix&lt;/p&gt;
&lt;p&gt;i &amp;amp;lt; i_15_ ? i : i_15_);&lt;/p&gt;
&lt;p&gt;BTW fixing and compiling this jar set and the trying &lt;br /&gt;
to run Jode on the result (I was trying to see if the &lt;br /&gt;
problem was reproducable over versions) produced &lt;br /&gt;
the odd result of &lt;br /&gt;
C:\jode&amp;amp;gt;java jode.decompiler.Main -d &lt;br /&gt;
c:\tmp\source2 \tmp\KLG2.jar&lt;br /&gt;
Jode (c) 1998-2001 Jochen Hoenicke &lt;br /&gt;
&amp;amp;lt;jochen@gnu.org&amp;amp;gt;&lt;br /&gt;
jclass.base.BaseComponent&lt;br /&gt;
jode.AssertError: ExceptionHandler order failed: not &lt;br /&gt;
14 &amp;amp;lt; 17 &amp;amp;lt;= 14&lt;br /&gt;
at &lt;br /&gt;
jode.flow.TransformExceptionHandlers.checkTryCat&lt;br /&gt;
chOrder(TransformExce&lt;br /&gt;
ptionHandlers.java:904)&lt;br /&gt;
at &lt;br /&gt;
jode.flow.TransformExceptionHandlers.analyze&lt;br /&gt;
(TransformExceptionHandle&lt;br /&gt;
rs.java:928)&lt;br /&gt;
at &lt;br /&gt;
jode.decompiler.MethodAnalyzer.analyzeCode&lt;br /&gt;
(MethodAnalyzer.java:577)&lt;br /&gt;
at jode.decompiler.MethodAnalyzer.analyze&lt;br /&gt;
(MethodAnalyzer.java:652)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.analyze&lt;br /&gt;
(ClassAnalyzer.java:359)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.dumpJavaFile&lt;br /&gt;
(ClassAnalyzer.java:624)&lt;br /&gt;
at jode.decompiler.ClassAnalyzer.dumpJavaFile&lt;br /&gt;
(ClassAnalyzer.java:613)&lt;br /&gt;
at jode.decompiler.Main.decompileClass&lt;br /&gt;
(Main.java:184)&lt;br /&gt;
at jode.decompiler.Main.decompile&lt;br /&gt;
(Main.java:370)&lt;br /&gt;
at jode.decompiler.Main.main(Main.java:203)&lt;/p&gt;
&lt;p&gt;BTW. I should thank you. Other than the above, &lt;br /&gt;
Jode worked just as advertised and, with its help, &lt;br /&gt;
we were able to upgrade a major in house system. &lt;br /&gt;
This is the only mystery that we ran into.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>