What do I have to do to get gwtc to translate something like: String[] foo =
(String[])bar.clone();?

gwtc ouputs: [ERROR] Line nn: Cannot invoke clone() on the array type
String[]

I understand that clone is implemented by the java compiler for all arrays
and there isn't a method on a java class that can be emulated. I tried a
couple of things to get this to work by emulation but gwtc barfs with other
errors.

Is the only work around to change the code to System.arraycopy and then
supply a js emulation for arraycopy?

Adrian Blakey
[email protected]
skype: adrianblakey
facetime: [email protected]
(510) 747-8057

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to