Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Equinox boot delegation problem

2009/4/13 raks81 <rakshith.rao@xxxxxxx>

I have a bundle that uses db2 driver to talk to the DB. This version of the
driver seems to be using classes from sun.io package. So when I add
org.osgi.framework.bootdelegation=sun.io.* equinox throws a NCDF error. But
when I change it to org.osgi.framework.bootdelegation=sun.* it seems to pick
the classes from sun.io just fine.

I am using Equinox 3.4.1 (launching using pax runner 0.17.2). JRE 1.5.

Felix seems to interpret org.osgi.framework.bootdelegation=sun.io.* just
fine.

there appears to be an ambiguity in the OSGi spec regarding these wildcards:

  Equinox matches "sun.io.*" against any sub-packages in "sun.io" but not "sun.io" itself

  Felix matches "sun.io.*" against any sub-packages in "sun.io" as well as "sun.io" itself

I'll raise this question over on the main OSGi dev list to get a definitive answer
 
Thanks in advance!
Raks

--
Cheers, Stuart

Back to the top