Community
Participate
Working Groups
When there are comments between import statements they get removed when organizing imports. Example: import junit.framework.TestCase; // JUnitDoclet begin import import someotherclass; // JUnitDoclet end import becomes for instance import java.io.File; import java.util.List; import java.util.Random; import junit.framework.TestCase; import org.apache.log4j.Logger; import someotherclass; // JUnitDoclet end import The comment //JUnitDoclet begin import is lost.
the heuristic assigns the comment to the following import 'import someotherclass;' which gets removed. I think whatever heuristic I choose, threre are always corner cases where they don't make sense. Setting to 'won't fin'
*** This bug has been marked as a duplicate of bug 24804 ***
Verified for 3.8M2 using build I20110912-0800