Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The OSGi installer's RegisteredResourceImpl class persists the full path of a data file that it gets from BundleContext.getDataFile().
If the filesystem folder that saves the bundle context's data is moved, the path of that data file becomes invalid.
The RegisteredResourceImpl class should just store an identifier for the data file, and use BundleContext.getDataFile() every time it needs to access the actual file.