Certain packages that I use including bonecp use sun packages for their
dependencies.  I have create a custom distro that includes these in the
jre.properties to make them available.  This seems to work pretty well.

On Mon, Dec 29, 2014 at 7:26 PM, thully <[email protected]> wrote:

> While our basic distribution of Cytoscape (built on Karaf) does not use any
> classes in the sun.*/com.sun.* packages, we have been receiving questions
> from third-party app developers regarding the use of such classes in app
> bundles.
>
> Currently, these developers are instructing their users to add these
> packages to the org.osgi.framework.bootdelegation in custom.properties.
> While that works, it is obviously unintuitive for users. Is there any harm
> in customizing the distribution to include these packages in
> custom.properties by default? Is there a better solution to this issue for
> those who need these packages?
>
> (I know that using sun packages is not advised - we don't do it and don't
> want to encourage it, though it seems that in some cases it is hard to
> avoid
> - particularly when a library is involved.)
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Bundles-that-depend-on-sun-classes-tp4037465.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 
Scott Carr

Reply via email to