Re: Java7 Langauge Feature Support
2.5.1 release notes include the following:
Developer Mode
Fixed compatibility with OpenJDK 7.
I don't believe that that includes support for Java 7 language features though.
This same discussion already exists here: https://groups.google.com/forum/#!topic/google-web-toolkit/dM8D9imIvAI/discussion
There is discussion there that Eclipse JDT needed to be updated to Java7. That has been completed:
The Eclipse Java 7 support is no longer in BETA phase. It has been integrated into the existing streams.
The latest post in that thread has the following info:
GWT 2.5 is fully compatible with JDK 7 (see https://developers.google.com/web-toolkit/release-notes#Release_Notes_2_5_0_RC2 ).
Just make sure you only use Java 6 constructs in your client code (in Eclipse, Project properties → Java Compiler, set "JDK Compliance" to 1.6; in Maven, set "maven.compiler.source" and "maven.compiler.target" to 1.6 or 6).
There was also this post:
We've occasionally talked about supporting Java 7 features, but there's no concrete plan or schedule to implement them.
On Tuesday, March 12, 2013 11:28:42 AM UTC-4, Stefan McDaniel wrote:
The company I work for uses GWT in a fashion that allows us to reuse logic that was originally run only on the server. Since this server code changes over time, and the company updates to the latest version of Java fairly quickly, there is a growing amount of developers using Java7 language features. Occasionally the new language features are added to files examined by the GWT compiler, which of course fails and requires the changes to be backed out. This results in a medium sized brew-haha every three months or so as to why we are using a technology that isn't keeping current with Java while the company is commited to doing so.So, two questions:1) What is the timeframe to update the ECJ to a version that handles Java7 language features?2) I've messed around in the GWT compiler quite a bit. What is the level of diffciulty related to updating the ECJ used by the GWT Compiler myself?Thanks,Stefan
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home