| Summary: | Resolver should be configurable to allow bundles to supply packages that are supplied by the JDK | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Andy McCright <andymc> | ||||
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | aniefer, dj.houghton, sanjeeb.sahoo, tjwatson | ||||
| Version: | unspecified | Flags: | dj.houghton:
review+
aniefer: review+ |
||||
| Target Milestone: | 3.6 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Andy McCright
I am willing to add a configuration, but if you have a bundle that needs a particular version of a package then you better make sure you have matching attributes that ensure you get what you need. The framework is free to wire you up to any export which it views matches a particular package constraint. Even if we have an option that does not prefer the system packages you may still find your bundles getting wired to the wrong version. Created attachment 168404 [details]
patch
DJ please review. Andrew, please review. Tom, Thanks for the quick response! My initial sniff test of the patch passed when setting osgi.resolver.preferSystemPackages=false in the config.ini. I have kicked off a larger batch of automated tests and will let you know the results. Thanks again, Andy Patch released for RC2. *** Bug 329314 has been marked as a duplicate of this bug. *** |