Bug 101885 - [mode] sort operation doesn't set the RELATIVE_ORDER for enum constants
Summary: [mode] sort operation doesn't set the RELATIVE_ORDER for enum constants
Status: VERIFIED FIXED
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: 3.1.1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 12:28 EDT by Olivier Thomann CLA
Modified: 2005-09-26 12:05 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 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.