watch out! you cannot make new Random() on GWT's type otherwise your IDE would pull in Javas implementation, so only Random.getNext() works
make sure your Random is imported from com.google rather than java.util On 22 Jul., 12:50, Shawn Brown <[email protected]> wrote: > Actually if com.google.gwt.user.client.Random is in a static method > called by a static method it fails. > > com.google.gwt.user.client.Random in a static method called by a > non-static method works fine. > > Seems a little flakey to me but ... I'm probably just not as smart as you! > > Shawn -- 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.
