I have a problem with cloning a class. It works just fine in DevMode but not in deployment mode. Following is a code snippet of what I do:
This works in DevMode but when its deployed it throws a ClassCastException.
Is there anything special that needs to be done to make this work correctly?
I'm using GWT 2.3 and SmartGWT 2.5
Code:
SomeClass a = new SomeClass(); SomeClass b = (SomeClass)a.clone();
Is there anything special that needs to be done to make this work correctly?
I'm using GWT 2.3 and SmartGWT 2.5