for loop getting converted to do while loop in compiled class file
问题 In my team we are using java 1.4.2 Most of the machine for loop is getting compiled as for only.ie. if i decompile the class file I can get see for loop only but certain machines of certain developer's it becomes do while loop. ie when i decompile certain classes it becomes do while How can it happen? Any possible reason, java version or configuration any body can think so i can reproduce this defect and fix it in all developers machines 回答1: I would not call this a defect. When you compile