Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321873 - Fix source code compatibility when compiling against new OSGi r43 API
Summary: Fix source code compatibility when compiling against new OSGi r43 API
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.7 M2   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 09:48 EDT by Thomas Watson CLA
Modified: 2010-08-05 09:57 EDT (History)
0 users

See Also:


Attachments
p2 patch to compile against OSGi R4.3 (6.21 KB, patch)
2010-08-05 09:48 EDT, Thomas Watson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2010-08-05 09:48:23 EDT
Created attachment 175935 [details]
p2 patch to compile against OSGi R4.3

The branch OSGI_R4_3_Generics of org.eclipse.osgi contains the new proposed generified OSGi API for the upcoming R4.3 specification.  The attached patch contains changes that need to be made to p2 code in order to compile against the new API (while still being able to run against R4.2)

The changes to discovery and metadata are the only needed changes at this time.  The patch contains changes to project settings in console and directory.app only to avoid compile errors in the workspace when using raw types.  This patch should be able to be applied to HEAD and be able to compile against the current version of org.eclipse.osgi in HEAD (which still has the R4.2 OSGi API).
Comment 1 Thomas Watson CLA 2010-08-05 09:49:34 EDT
Needed for M2.  I would like to get this released today so I can run a test build against the osgi branch.
Comment 2 DJ Houghton CLA 2010-08-05 09:57:48 EDT
Released.