Bug 106907 - "Organize Imports" did not complete normally. Reason: org.eclipse.jdt.core.dom.SimpleType
Summary: "Organize Imports" did not complete normally. Reason: org.eclipse.jdt.core.do...
Status: RESOLVED DUPLICATE of bug 104492
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 18:06 EDT by Ahmed Ashour CLA
Modified: 2005-08-12 21:48 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed Ashour CLA 2005-08-12 18:06:53 EDT
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();
	}

}
Comment 1 Olivier Thomann CLA 2005-08-12 21:48:07 EDT
This is fixed in 3.2M1.

*** This bug has been marked as a duplicate of 104492 ***