Native image compilation error

Leonardo Loch Zanivan pangalz at gmail.com
Sun Nov 19 13:41:40 UTC 2017


Ok, thanks for the clarification.
I tried "java.lang.invoke.MethodHandle" without success too.

"We actually do support reflection in SVM, but you have to specify the
reflexively accessed elements using some descriptor files."

Do you have any documentation or sample that I can use?

On Sat, Nov 18, 2017 at 8:04 PM Codrut Stancu <codrut.stancu at oracle.com>
wrote:

> We actually do support reflection in SVM, but you have to specify the
> reflexively accessed elements using some descriptor files. That's a
> limitation of the closed world assumption. The only feature that's not
> supported is dynamic class loading. We haven't experimented with Jackson
> yet. I'll get back later with more details (on my phone right now).
>
> Codrut StancuOn Nov 18, 2017 1:18 PM, Stefan Marr <java at stefan-marr.de>
> wrote:
> >
> > Hi Leonardo:
> >
> > > On 18 Nov 2017, at 21:10, Leonardo Loch Zanivan <pangalz at gmail.com>
> wrote:
> > >
> > > I only read some mentions about Classloading limitations.
> > >
> > > All the JSON serializers I know uses Reflection APIs, so I suppose
> this is something to be supported in future releases.
> >
> > I don’t know. But, you really need the closed world assumption to make
> AOT compilation in the way it is supposed to work for Truffle languages.
> > So, I wouldn’t expect that this is going to be addressed any time soon…
> >
> > Best regards
> > Stefan
> >
> > --
> > Stefan Marr
> > School of Computing, University of Kent
> > http://stefan-marr.de/research/
> >
> >
>


More information about the graal-dev mailing list