Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 101024

Summary: Sort members should not reorder Enums
Product: [Eclipse Project] JDT Reporter: Karsten Becker <java>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karsten Becker CLA 2005-06-21 08:02:28 EDT
When you declare:
public enum Ordering {
	ZERO,ONE,TWO;
}

Sort Members will result in:
public enum Ordering {
	ONE,TWO,ZERO;
}

Also there is a warning now, I think that it would not be too difficult, to
provide an option for choosing, whether enums should be sorted too..
Comment 1 Olivier Thomann CLA 2005-06-21 10:00:37 EDT
Too late for 3.1.
This would need a new API.
Comment 2 Karsten Becker CLA 2005-11-09 05:24:11 EST
I guess it is solved with 3.2 M3
Comment 3 Alex Blewitt CLA 2007-01-28 18:58:13 EST
FYI I've put a fix in for Bug 133277 against 3.3M4 that will allow sorting of members to be disabled.
Comment 4 Eclipse Webmaster CLA 2009-08-30 02:38:09 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.