Community
Participate
Working Groups
Build ID: M20090211-1700 Steps To Reproduce: 1. Given this class with a correctly sorted import list. package com.example; import java.awt.image.DataBuffer; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class BadImportOrder { private DataBuffer db; private Entry<?, ?> entry; private Map<?, ?> map; private Set<?> set; } 2. "Organize Imports" 3. Yields package com.example; import java.awt.image.DataBuffer; import java.util.Map; import java.util.Map.Entry; import java.util.Set; public class BadImportOrder { private DataBuffer db; private Entry<?, ?> entry; private Map<?, ?> map; private Set<?> set; } More information: Enclosed classes are incorrectly sorted. I confirmed this on linux and mac. This keeps me from using the auto-organize on save feature.
Sorry just now found a exiting bug for this. 194358 *** This bug has been marked as a duplicate of bug 194358 ***