FULL PRODUCT VERSION :
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
FULL OS VERSION :
Windows XP Prof. [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When the Hotspot-Compiler compiles following obfuscated code, the application crashes.
Note: There is no problem while interpreting the code and there is no Problem
with java version "1.6.0_04"
Obfuscated by: DashO
Decompiled by: Jad
private Status c()
{
Status status = null;
Iterator iterator = a.iterator();
do
{
while (!iterator.hasNext())
if (status != null)
return status;
else
return b;
ImportLogEntry importlogentry = (ImportLogEntry)iterator.next();
status = b.eval(importlogentry.getStatus());
} while (true);
}
Orginal Code:
protected Status evalStatus() {
Status tmp = null;
for(ImportLogEntry entry:children) {
tmp = status.eval( entry.getStatus());
}
return tmp==null ? status : tmp;
}
Error message:
THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: No
THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Attached seperatly
REPRODUCIBILITY :
This bug can be reproduced always.