Native image compilation error

Leonardo Loch Zanivan pangalz at gmail.com
Sat Nov 18 21:10:52 UTC 2017


Hi Setan,

Yes, it does. I wasn't aware of that limitation.

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.

Regards,
Leonardo

On Sat, Nov 18, 2017 at 7:07 PM Stefan Marr <java at stefan-marr.de> wrote:

> Hi Leonardo:
>
> > On 18 Nov 2017, at 21:00, Leonardo Loch Zanivan <pangalz at gmail.com>
> wrote:
> >
> > Basically, I'm trying to compile to native image a very simple Java
> > application that serializes a objeto into JSON using Jackson, but it
> fails.
> >
> > https://github.com/graalvm/graal/issues/264
>
> If I read the stack trace correctly, it is trying to use reflection?
> As far as I know, SVM/native images currently don’t support reflection at
> run time.
>
> Best regards
> Stefan
>
> --
> Stefan Marr
> School of Computing, University of Kent
> http://stefan-marr.de/research/
>
>
>


More information about the graal-dev mailing list