GWT 2.2.0 broke binary compatibility for code generation

478 views
Skip to first unread message

David Chandler

unread,
Feb 22, 2011, 3:10:02 PM2/22/11
to google-we...@googlegroups.com, google-web-tool...@googlegroups.com
Dear GWT community,

The recent release of GWT 2.2.0 inadvertently broke binary (but not source) compatibility with any third party library that does code generation, including GIN. This was the result of an architectural change to the GWT compiler to support future improvements such as caching of generated artifacts.

To resolve the issue, each jar that uses code generation must be recompiled with GWT 2.2.0. A new version of GIN (1.5) which works with 2.2.0 and earlier is now available at http://code.google.com/p/google-gin/downloads/list. If you're using other 3rd-party jars that use code generation, please update them also.

If you are getting an error like the following, you are probably using a jar that needs to be recompiled with GWT 2.2.

Caused by: java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected

We apologize for the inconvenience, and for not informing you at the time of the release.

/dmc

--
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools
Reply all
Reply to author
Forward
0 new messages