Re: FYI, playing with Sling, GraalVM and native images

2019-07-04 Thread Bertrand Delacretaz
H Paul, Thank you very much for your input! On Wed, Jul 3, 2019 at 5:30 PM Paul Bjorkstrand wrote: > ...From what I know of GraalVM/native-image, the biggest hurdles will be with > classloading (lazy load/hiding bundle-private classes) and reflection... Yes out of the list at [1] that's what

Re: FYI, playing with Sling, GraalVM and native images

2019-07-03 Thread Paul Bjorkstrand
>From what I know of GraalVM/native-image, the biggest hurdles will be with classloading (lazy load/hiding bundle-private classes) and reflection. The nature of how Felix/OSGi hides nonpublic classes (like you stated #4 on SLING-8556) would make it extremely difficult to get this working without

Re: FYI, playing with Sling, GraalVM and native images

2019-07-03 Thread Robert Munteanu
On Wed, 2019-07-03 at 13:00 +0200, Bertrand Delacretaz wrote: > Hi Robert, > > On Wed, Jul 3, 2019 at 12:25 PM Robert Munteanu > wrote: > > ...Have you considered using FelixConnect [1] > > instead of the OSGi mocks?... > > Yes that's one of the options as well. > > I haven't found docs or

Re: FYI, playing with Sling, GraalVM and native images

2019-07-03 Thread Bertrand Delacretaz
Hi Robert, On Wed, Jul 3, 2019 at 12:25 PM Robert Munteanu wrote: > ...Have you considered using FelixConnect [1] > instead of the OSGi mocks?... Yes that's one of the options as well. I haven't found docs or tests for that module however so I'm a bit wary of using it, but I'll keep it in the

Re: FYI, playing with Sling, GraalVM and native images

2019-07-03 Thread Robert Munteanu
Hi Bertrand, On Wed, 2019-07-03 at 12:04 +0200, Bertrand Delacretaz wrote: > Hi, > > FYI I'm running a series of experiments that I'll present at the > adaptTo() conference, and keeping a journal at > https://issues.apache.org/jira/browse/SLING-8556 > > If someone has tips & tricks that might

FYI, playing with Sling, GraalVM and native images

2019-07-03 Thread Bertrand Delacretaz
Hi, FYI I'm running a series of experiments that I'll present at the adaptTo() conference, and keeping a journal at https://issues.apache.org/jira/browse/SLING-8556 If someone has tips & tricks that might help they are welcome! At this point the status at SLING-8556 is that creating a native