NumberFormatException thrown if bundle manifest contains a version range with 
spaces
------------------------------------------------------------------------------------

                 Key: FELIX-456
                 URL: https://issues.apache.org/jira/browse/FELIX-456
             Project: Felix
          Issue Type: Bug
          Components: Maven OBR Plugin
    Affects Versions: 1.0.0
            Reporter: Stuart McCulloch
            Assignee: Stuart McCulloch
            Priority: Minor
             Fix For: 1.0.1


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to