| Summary: | [region] starting from persistent digraph is not working | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Thomas Watson <tjwatson> | ||||
| Component: | Components | Assignee: | Thomas Watson <tjwatson> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | glyn.normington | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Watson
Created attachment 193407 [details]
fix + testcase
The fix is rather simple, need to make sure to pass the BundleContext and the ThreadLocal to the constructor of the StandardRegionDigraph when loading it from persistent storage.
The fix for the testcases is a bit more complex since stopping the region bundle during the tests invalidates the BundleContext we are using to perform the tests! This patch addresses that also in the tests.
Patch released. |