I found some issues when it came to creating new strings if the string was 
empty on UWP - it was throwing an exception whos name escapes me but it was 
a CLI verification exception or something like that

So if in the riginal posters example the variable string was an empty 
string it would complain

ie

String str = "";

Vector v = new Vector();

c.addElement(new String(str)); //doesn't like when str is an empty string
c.addElement("");                   //code doesn't seem to mind this

Paul

On Friday, March 10, 2017 at 6:35:12 AM UTC, Shai Almog wrote:
>
> I don't see anything wrong with that.
> Can you try using add and maybe switch to the new collections e.g. 
> ArrayList?
> Maybe there is a deadlock with the synchronized old collections or 
> something like that.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f8063527-61ef-4f0b-8ac2-23ad1098db88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to