Hi,

On Mon, 2020-10-05 at 09:14 +0200, spiege...@planet.ms wrote:
> Hi!
> 
> "Robert Munteanu" <romb...@apache.org> wrote:
> > I am not sure how clean this solution is, but you might want to add
> > the
> > following to your feature model
> > 
> >   "framework-properties": {
> >     "org.osgi.framework.system.packages.extra": "sun.misc"
> >   }
> > 
> > I think you can also set it via the CLI with
> > 
> > -D org.osgi.framework.system.packages.extra=sun.misc
> 
> Thank you, yes,
> -D org.osgi.framework.system.packages.extra=sun.misc
> is a workaround which does help and makes sun.misc.Unsafe3 accessible
> again to the ehcache 3 bundle on Sling Starter 12, though I have an
> uneasy feeling about it. Setting system properties is not a nice
> thing you should have to do when
> deploying an application, and we don't create a feature model for it
> so far.
> 
> This is, however, something different than what happens on Sling 11 -
> now sun.misc is "officially" exported by the felix framework bundle 
> http://localhost:9090/system/console/bundles/0 which it isn't on
> Sling Starter 11. Not sure whether this is good or bad.
> 
> I'm still wondering whether I should open a bug for this, though,
> since that is a sudden change of the behavior when going from 11 to
> 12. I'm not quite sure about that and for which subproject this would
> be. What do you think?

I think you can file this against the Starter. If it's a regression
compared to version 11 we should fix it.

Thanks,
Robert

Reply via email to