graal and jdk8

Bharadwaj Yadavalli bharadwaj.yadavalli at oracle.com
Thu Feb 14 07:35:58 PST 2013


On 2/13/2013 12:03 PM, Venkatachalam, Vasanth wrote:
> Hi,
>
> I noticed that I had to use a JDK7 VM to build Graal.
> I wasn't able to build it with JDK8. Is there a workaround for this, or does Graal require a JDK7 host VM?
I am curious as to why Graal *build* needs to be done with JDK8 so that 
the resulting Graal compiler would be able to compile Java 8 class 
files? I believe Graal sources themselves do not (yet) use Java 8 features.
> If Graal only supports JDK7, are there plans to make it compatible with JDK8?
> We're looking to leverage Graal for the Sumatra project (http://openjdk.java.net/projects/sumatra/)
> This work requires being able to compile JDK8 lambda constructs for the GPU.

However, it appears to me that the need is more for bringing in the 
ability to parse and verify Java 8 class files (along with possibly the 
support for indy, what else am I missing?) so that the Graal compiler 
has the ability to compile Java 8 class files.

Thanks,

Bharadwaj



More information about the graal-dev mailing list