Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339576 - Ranking of services is not considered on eclipse 3.4
Summary: Ranking of services is not considered on eclipse 3.4
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: 3.7.0 Indigo   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 14:14 EST by Claudio Guglielmo CLA
Modified: 2012-05-22 06:30 EDT (History)
3 users (show)

See Also:
zimmermann: indigo+


Attachments
Patch to resolve the bug. (2.79 KB, application/octet-stream)
2011-03-10 14:14 EST, Claudio Guglielmo CLA
zimmermann: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
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.