Bug 101885

Summary: [mode] sort operation doesn't set the RELATIVE_ORDER for enum constants
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2005-06-27 12:28:28 EDT
The RELATIVE_ORDER property is not set for enum constants.
This can potentially leads to NPE.
Comment 1 Olivier Thomann CLA 2005-06-27 12:42:39 EDT
Fix is trivial.
Comment 2 Olivier Thomann CLA 2005-06-29 09:20:24 EDT
Fixed and released in 3.1 maintenance stream.
Regression test added in
org.eclipse.jdt.core.tests.model.SortCompilationUnitElementsTests.test029.
Comment 3 Jerome Lanneluc CLA 2005-08-09 06:59:06 EDT
Verified in 3.1 M2
Comment 4 Jerome Lanneluc CLA 2005-08-09 06:59:31 EDT
I meant 3.2 M1 :-)
Comment 5 Maxime Daniel CLA 2005-09-26 12:03:42 EDT
Verified for 3.1.1 using build M20050923-1430.
Comment 6 Olivier Thomann CLA 2005-09-26 12:05:38 EDT
Verified.