Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366419 - Rebase the resolver VersionRange impl on the new osgi VersionRange
Summary: Rebase the resolver VersionRange impl on the new osgi VersionRange
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: Juno M5   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 10:15 EST by Thomas Watson CLA
Modified: 2012-01-04 14:51 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA 2011-12-12 10:15:12 EST
The org.eclipse.osgi.service.resolver.VersionRange needs to be updated to use or probably extend the new org.osgi.framework.VersionRange class to fully support pre-release versions.
Comment 1 DJ Houghton CLA 2011-12-12 10:18:58 EST
Is there anything consumers should do here? Are we going to recommend as best practice that people refer to the framework's VersionRange class explicitly or not worry about it since they're compatible anyway?
Comment 2 Thomas Watson CLA 2011-12-12 14:18:36 EST
(In reply to comment #1)
> Is there anything consumers should do here? Are we going to recommend as best
> practice that people refer to the framework's VersionRange class explicitly or
> not worry about it since they're compatible anyway?

I intend to make them fully compatible.  Folks already referring to the org.eclipse.osgi.service.resolver.VersionRange should continue to do so since that is the type that is returned by the various types in org.eclipse.osgi.service.resolver.  To have clients start referring to the org.osgi.framework.VersionRange when dealing with the org.eclipse.osgi.service.resolver package would start looking rather messy and will not really gain them much.