Hmm looks like a bug and/or bad error reporting. I could imagine that it fails because you have code calling the @GwtIncompatible method. Yes it is not called at runtime but the AST maintained by the compiler at compile time might be broken now. I think your code must not be broken once @GwtIncompatible code has been removed.--
What I did in my code was to implement a client version of the method and then override that method in a sub class to provide a JRE version. I have then marked that overridden method as incompatible. So when the compiler does not see the overridden JRE method then the calling code is still valid.
So maybe try something like:
Does that help?
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 email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.