Getting delegate of an EngineTruffleObject
Vlad Vergu
v.vergu at gmail.com
Thu Jun 8 08:19:59 UTC 2017
Hi Stefan,
That works, thank you!
Best regards,
Vlad
> On 7 Jun 2017, at 10:47, Stefan Marr <java at stefan-marr.de> wrote:
>
> Hi Vlad:
>
>> On 7 Jun 2017, at 08:33, Vlad Vergu <v.vergu at gmail.com> wrote:
>>
>> The issue i’m having is that calls to PolyglotEngine.eval(…) return an EngineTruffleObject instances since 0.23. The EngineTruffleObject class is package private. How do i get the delegate object?
>
> I am using something like this:
>
> Value result = engine.eval(…);
> Obj o = result.as(Object.class);
>
> or
>
> SObject o = result.as(SObject.class);
>
>> meta-issue: is this the right list for these questions?
>
> Yes, beside this list, I think there’s only the gitter channel: https://gitter.im/graalvm/graal-core
>
> Best regards
> Stefan
>
>
> --
> Stefan Marr
> Johannes Kepler Universität Linz
> http://stefan-marr.de/research/
>
>
>
More information about the graal-dev
mailing list