roycezhc / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

if .. return boolean problem #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.dex2jar-0.0.9.12 export jar file
2.use jd-gui export java file
3.in java file see these code:

if ((i >= paramInt1) && (i <= paramInt2));
    for (int j = 1; ; j = 0)
      return j;

What is the expected output? 

if ((i >= paramInt1) && (i <= paramInt2))
      return true;

What do you see instead?

if ((i >= paramInt1) && (i <= paramInt2));
    for (int j = 1; ; j = 0)
      return j;

What version of the product are you using? On what operating system?

dex2jar-0.0.9.12 windows xp (sp3)

Please upload the file which cause the issue if possible.

Please provide any additional information below.

Original issue reported on code.google.com by Junfeng....@gmail.com on 4 Jan 2013 at 1:49

GoogleCodeExporter commented 9 years ago
What is the expected output? 

if ((i >= paramInt1) && (i <= paramInt2))
      return true;
else
      return false;

Original comment by Junfeng....@gmail.com on 4 Jan 2013 at 2:07