Hi David I think the best approach is to work with framework fragment bundle that cause the system bundle to expose additional packages, see https://svn.apache.org/repos/asf/incubator/stanbol/trunk/frameworkfragment/for an example. An alternative would be to set the boot-delegation property at startup.
In general I think using com.sun packages should be avoided as they might not be available in all VMs. Cheers On Wed, Apr 4, 2012 at 3:11 PM, David G. <[email protected]> wrote: > I am creating a bundle for felix that uses com.sun.crypto.providers.SunJCE > > I thought that com.sun.* was exposed to the container via the JVM, > however Im getting class not found exceptions when I execute my > bundle. > > What the best way for allowing com.sun.* packages to resolve in an > OSGi Bundle under felix? (My Import-Package is *, but when i look at > my bundles under felix is complains it can find com.sun.crypto. > > Im ultimately trying to get a cryptography provider so i can securely > hash values. > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

