Java 8 compatibility

Gilles Duboscq duboscq at ssw.jku.at
Wed Nov 26 16:38:51 UTC 2014


Hello Stefan,

the reason we do that is to ensure that Truffle is built against Java
7. This is required to make sure that the Truffle projects do not use
any Java 8 API by mistake. So we really want ==1.7  and not >=1.7.
Project *using* Truffle are >=1.7.

-Gilles

On Wed, Nov 26, 2014 at 5:01 PM, Stefan Marr <java at stefan-marr.de> wrote:
> Hi Christian:
>
>
>> On 26 Nov 2014, at 16:54, Christian Humer <christian.humer at gmail.com> wrote:
>>
>> Short answer yes. The Truffle API is still compatible to Java 7. And it has to remain compatible for some time to come because of JRuby.
>
> Well, my understanding is that’s rather a ‘no, it also works with Java 8’.
> I am not asking to change the minimum version that is supported, but currently, I have to change suite.py manually if I want to compile Graal without having to install Java 7 as well.
>
> Is there a way to ask mx to just interpret the check as >=1.7 instead ==1.7?
>
> Thanks
> Stefan
>
> --
> Stefan Marr
> INRIA Lille - Nord Europe
> http://stefan-marr.de/research/
>
>
>


More information about the graal-dev mailing list