On Wednesday, November 13, 2013 12:00:49 AM UTC+1, Jens wrote: > > If you take a look at > > > https://gwt-review.googlesource.com/#/c/5372/2/user/src/com/google/gwt/event/dom/client/DomEvent.java > > https://gwt-review.googlesource.com/#/c/5372/2/user/test/com/google/gwt/event/dom/client/DomEventTest.java > > Leeroy has commented some strange EOF errors. I have then removed the > diamond operator and he seems to be happy again. > > Is this a bug or is it not yet allowed to use Java 7 syntax in GWT source? >
Those come from checkstyle, of which we use an old version that predates Java 7. That said, I don't really remember the outcome of the previous discussion on the subject but I believe we still want to support Java 6 (GWT compiler has a "-sourceLevel 6") for GWT 3.0, which means we can't use Java 7 syntax yet. Also note that in the Ant build scripts the <javac> tasks use source="1.6" target="1.6". -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
