Monday, November 3, 2014

Re: GWT 2.7.0 RC1 available

Hi, 

about the java 8 support:

When I try to compile a project that uses java 8 features I get an error like the following:        Tracing compile failure path for type 'com.example.SomeClass'        [ERROR] Errors in 'file:src/com/example/SomeClass.java'           [ERROR] Line 31: Lambda expressions are allowed only at source level 1.8 or above     [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly    The project sdk and language level are java 8.  I tried to set the sourceLevel to 1.8, but when I compile with  '-sourceLevel 1.8' I get       Source level must be one of [auto, 1.6, 1.7].     Google Web Toolkit 2.7.0-rc1       So, is java 8 support just not there yet or am I missing something? If not, will it be in the final release?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment