EquinoxCompatibility

From APIDesign

Revision as of 07:09, 13 July 2010 by JaroslavTulach (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

The Netbinox project (which provides the fastest OSGi container on the Earth for launching desktop applications) is based on top of Equinox. Originally I started with Equinox version 3.5, but recently some customers requested an upgrade to the newly released 3.5.2 version.

I am not doing any non-API tricks while using Equinox. I rely either on OSGi interfaces or Equinox extension hooks. No reflection, no access to implementation details, etc. As such I was expecting the upgrade to be as easy as dropping new version of equinox.jar into the system. It was not!

Functional Incompatibility

My code needs to find out all packages in each bundle. I am using:

Enumeration en = bundle.findEntries("", "", null);

and this code works quite fine with Felix and Equinox 3.5. However it does not work at all in Equinox 3.5.2!

Personal tools
buy