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

Bug 339576

Summary: Ranking of services is not considered on eclipse 3.4
Product: z_Archived Reporter: Claudio Guglielmo <claudio.guglielmo>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: ivan.motsch, wayne.beaton, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
Target Milestone: 3.7.0 Indigo   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Patch to resolve the bug. zimmermann: iplog+

Description Claudio Guglielmo CLA 2011-03-10 14:14:01 EST
Created attachment 190900 [details]
Patch to resolve the bug.

SERVICES.getService(IMyService.class) does not return the service with the highest priority on Eclipse 3.4. It works well with Eclipse 3.5. Obviously the handling of the ranking has changed between these two Eclipse releases.

As an attachment I provide a patch containing a suggestion how to resolve the bug. Tested on Scout Trunk with Eclipse 3.4 and 3.6.
Comment 1 Ivan Motsch CLA 2011-05-11 06:26:45 EDT
Verified Fix OK.
Comment 2 Wayne Beaton CLA 2011-09-20 07:36:00 EDT
The patch, if applied to the code base, must be flagged iplog+ so that it appears in the log.