Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
framework-1.0.0
-
None
Description
When installing a bundle that has a version range with spaces in its manifest, for example:
some.pkg.name;version="(0, 2]"
the OBR install mojo will report a NumberFormatException, because the bindex implementation
does not handle spaces inside the quoted string. However, the OSGi spec says version strings
may contain whitespace.
The VersionRange code needs a small fix to strip whitespace from around the version numbers.