Community
Participate
Working Groups
This was spotted by Tom Watson. RegionSpanningException is a throwback to when we allowed bundles, particularly the system bundle, to belong to more than one region. This was a really bad idea and is no longer allowed. So the exception should be deleted. IndeterminateRegionException was only used when querying the region of a bundle using RegionDigraph. But now we return null instead of throwing an exception. Given the way we inherit the regions if BundleContext.installBundle is used outside the context of the digraph code, this is less of an issue. Once the digraph is set up, bundles will naturally be assigned a region as they are created. Again this exception should be deleted.