I followed all advices on http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/doc/helpInfo/jsoRestrictions.html and still get the infamous <init>$
error.
The following statement triggers the error:
final OpenCTM ctm = OpenCTM.create();
Where OpenCTM is:
public final class OpenCTM extends GObject {
protected OpenCTM() {}
public static native OpenCTM create() /*-{
return new $wnd.GLGE.OpenCTM();
}-*/;
public native void setSrc(String url, String relativeTo) /*-{
this.setSrc(url, relativeTo);
}-*/;
}
The whole code is located in my GitHub repository and is still pretty small. I'm trying to write a wrapper library for the GLGE framework.
I really don't know what to do anymore.