> Anyway, since the framework is not providing this, is this an error on
> the part of my framework (Equinox)? Or it is normal that I should have
> to ensure myself that these extensions are available, such as for
> example wrapping them in my own bundle or providing them to the
> bootdelegator?
> 
> This is still not so clear to me...

While waiting for some enlightenment on this subject...

I provided my own wrapper bundle for jce.jar. However, boom:

java.lang.NoClassDefFoundError: sun/security/jca/GetInstance
        at javax.crypto.KeyGenerator.<init>(DashoA12275)
        at javax.crypto.KeyGenerator.getInstance(DashoA12275)

The sun.security.jca package is part of rt.jar.

Just to be sure that bootdelegation is set up correctly, I specifically
set this property:

  org.osgi.framework.bootdelegation=sun.*,com.sun.*

The problem persists.

Isn't rt.jar supposed to be part of bootdelegation?

So, doesn't this make this a framework issue?


Thanks!
=David.Leangen


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to