Community
Participate
Working Groups
On a very fresh installation of Eclipse 3.1, clickin ctrl-shift-o gives the error: "Organize imports" did not complete normally. Please see the log for more information. Reason: org.eclipse.jdt.core.dom.SimpleType --------------------------------------------- import java.util.Enumeration; import sun.text.resources.LocaleElements_ar; public class TestFormat { public static void main1(String[] args) throws Exception { LocaleElements_ar ar = new LocaleElements_ar(); for( Enumeration<String> en = ar.getKeys(); en.hasMoreElements (); ) { String key = en.nextElement(); Object o = ar.getObject( key ); if( o instanceof String[] ) { for( String s : (String[])o ) { } } else if( o instanceof String[][] ) { for( String[] s : (String[][])o ) { } } } } public static void main(String[] args) throws Exception { SimpleDateFormat format = (SimpleDateFormat) DateFormat.getDateTimeInstance(); } }
This is fixed in 3.2M1. *** This bug has been marked as a duplicate of 104492 ***