Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    clone() works in DevMode but not in production mode

    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:
    Code:
    SomeClass a = new SomeClass();
    SomeClass b = (SomeClass)a.clone();
    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
Working...
X