Hi,
I have a method with parameter abstract Field , i need to clone a new one and return it.
just like:

public Field cloneField(Field input)
{
return GWT.create(input.getClass());
}
It works fine in hostmode,but compile error in ant building with message:
"Only class literals may be used as arguments to GWT.create()".
Is that means abstract class or interface can't use in create method?
Thanks.