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

Bundle org.apache.felix.ipojo physically contains OSGi API classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • ipojo-runtime-1.12.0
    • ipojo-runtime-1.12.1
    • iPOJO
    • None
    • ubuntu 14, karaf

    Description

      The org.apache.felix.ipojo bundle imports, exports and physically contains interface-classes of packages org.osgi.services.cm and org.osgi.services.log, both with version 1.3.

      I'm running ipojo in karaf 3.0.2. There, these osgi-packages also exists, just in another version.

      Sometimes it happens that a bundle of mine, which has a package-dependency on org.osgi.services.cm is bound to the ipojo-version instead of the one of felix/karaf. Now, the bundle is resolved, but the service dependency on the ConfigurationAdmin can never be resolved, because the implementation is incompatible to the imported interface.

      I can fix that, if I play around with the bundle start levels.

      Anyway, I think it's a bug in iPOJO, because it should not inline any OSGi API packages.

      Attachments

        Activity

          People

            clement.escoffier Clement Escoffier
            palador Karl Leopold
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: