Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338445 - Remove dependency on OSGi 1.6 that came with org.osgi.framework.ServiceReference<?>
Summary: Remove dependency on OSGi 1.6 that came with org.osgi.framework.ServiceRefere...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Victor Roldan Betancort CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 13:34 EST by Victor Roldan Betancort CLA
Modified: 2011-06-23 03:41 EDT (History)
0 users

See Also:
stepper: review+


Attachments
patch v1 (1.49 KB, application/octet-stream)
2011-02-28 13:38 EST, Victor Roldan Betancort CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Roldan Betancort CLA 2011-02-28 13:34:58 EST
ServiceReference became generic in Eclipse 3.7.0. Two classes of the CDO framework were updated to remove unwaned warnings:

org.eclipse.net4j.internal.util.om.OSGiPlatform
org.eclipse.net4j.util.om.log.OSGiLoggingBridge

However, this introduced an unnecesary dependency with org.osgi.framework 1.6.

This doesn't add any benefit to the framework, and introduces an unnecessary dependency to Eclipse 3.7.x. We should stay as much as possible compatible with Eclipse 3.6.x
Comment 1 Victor Roldan Betancort CLA 2011-02-28 13:38:31 EST
Created attachment 189980 [details]
patch v1

removes use of generic wildcard. Adds some annotations to avoid warnings.
Comment 2 Eike Stepper CLA 2011-03-01 03:34:20 EST
The patch is not workspace-relative ;-(
Comment 3 Victor Roldan Betancort CLA 2011-03-01 06:06:21 EST
(In reply to comment #2)
> The patch is not workspace-relative ;-(

How did I manage to make that? :S
Comment 4 Victor Roldan Betancort CLA 2011-03-01 06:10:57 EST
Committed to TRUNK, revision 7314
Comment 5 Eike Stepper CLA 2011-06-23 03:41:20 EDT
Available in R20110608-1407