I added methods for clone and array clone as described in another thread, to google.gwt.emul.java.lang and replaced them in gwt- user.jar.
I now get the following gwtc errors at the point where "clone" is encountered in my java code - Resolving com.google.gwt.cell.client.FieldUpdater Found type 'com.google.gwt.cell.client.FieldUpdater' [ERROR] Unable to resolve class java/lang/Object [ERROR] Unable to resolve class java/lang/Object [ERROR] Unable to resolve class java/lang/Object Resolving com.google.gwt.cell.client.ValueUpdater Found type 'com.google.gwt.cell.client.ValueUpdater' [ERROR] Unable to resolve class java/lang/Object [ERROR] Unable to resolve class java/lang/Object Resolving com.google.gwt.core.client.Duration Found type 'com.google.gwt.core.client.Duration' [WARN] Unable to resolve supertype java/lang/Object Resolving com.google.gwt.core.client.GwtScriptOnly Found type 'com.google.gwt.core.client.GwtScriptOnly' [WARN] Unable to resolve interface java/lang/annotation/ Annotation Resolving com.google.gwt.core.client.Scheduler Found type 'com.google.gwt.core.client.Scheduler' [WARN] Unable to resolve supertype java/lang/Object ... many many more ... Any ideas what is going on? Methods are like this: protected native Object clone() throws CloneNotSupportedException /*- { var r = {}; // prevents use of same hash code @com.google.gwt.core.client.impl.Impl::getHashCode(Ljava/lang/ Object;)(r); var o = this; for(var i in o) { if(!(i in r)) { r[i] = o[i]; } } return r; }-*/; @SuppressWarnings("unchecked") public static <T> T[] clone(T[] array) { return (T[]) Arrays.asList(array).toArray(); } -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.