Roberto Lublinerman has posted comments on this change.

Change subject: Chooses a default gwt source level to match the current java runtime.
......................................................................


Patch Set 2:

I just noticed that the ApiChecker fails if you are running with source compatibility 7 due to the fact that Enum.java in emul does not compile in java 7.

I was thinking of updating the old source jar gwt25userApi. It is a minor update (adds a cast) that does not affect the api in any way:

   public final int compareTo(E other) {
     // TODO: will a bridge method do the cast for us?
     // if (this.getDeclaringClass() != other.getDeclaringClass()) {
     // throw new ClassCastException();
     // }
-    return this.ordinal - other.ordinal;
+    return this.ordinal - ((Enum) other).ordinal;
   }

Any thoughts about it?

--
To view, visit https://gwt-review.googlesource.com/2910
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I69dc0e9b1ac0ecf9a40ee2a08d8d555319d0af6f
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman <rlu...@google.com>
Gerrit-Reviewer: Leeroy Jenkins <jenk...@gwtproject.org>
Gerrit-Reviewer: Matthew Dempsky <mdemp...@google.com>
Gerrit-Reviewer: Roberto Lublinerman <rlu...@google.com>
Gerrit-Reviewer: Thomas Broyer <t.bro...@gmail.com>
Gerrit-HasComments: No

--
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 google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to