On Thursday, June 14, 2012 12:49:55 PM UTC+2, Albert Attard wrote:
Question:
- Does GWT support Java 7 features?
No.
Not yet. Though it will likely take some time.
- What changed do I need to perform in order to have the Java 7 code working without having to change the source?
In terms of what should be done within GWT to make it support Java 7?
Well, first and foremost upgrade ECJ to a version that supports Java 7. Hopefully that would be enough to support the diamond operator, and possibly all other Java 7 features. "Switch on strings" would hwoever greatly benefit from a specific handling in GWT, to compile it to an equivalent switch in JS.
- What other features from the latest Java 7 GWT does not support?
No single one. GWT uses a Java 6 parser, so it only supports Java 6.