API Visibility was: Segfault when running compiled Truffle method.

Gilles Duboscq duboscq at ssw.jku.at
Thu Jan 23 09:17:57 PST 2014


I think that was the unanimous reaction ;)
I think it's not currently as trivial as making these constructors
package private for example but it's now on our TODO-list to try to
refactor this so that this problem doesn't happen again.

-Gilles

On Thu, Jan 23, 2014 at 6:14 PM, Christian Wimmer
<christian.wimmer at oracle.com> wrote:
>> In general, never create frames yourself, always use the methods in
>> TruffleRuntime (there's also one for virtual frames nowadays, should you
>> need it).
>
>
> That leads to the question: why are the classes and constructors public?
>
> Can I reduce the visibility without breaking any existing languages?
>
> -Christian


More information about the graal-dev mailing list