Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-456

NumberFormatException thrown if bundle manifest contains a version range with spaces

    XMLWordPrintableJSON

Details

    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.

      Attachments

        1. pom.xml
          1 kB
          Stuart McCulloch

        Activity

          People

            mcculls Stuart McCulloch
            mcculls Stuart McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: