Friday, October 29, 2010

for(;;) with 2.01

Hi,

I had a loop (using a for(;;) {} ) in my GWT code.

When I moved to 2.01, the loop acted weird. (the function with the
loop would always return false, when true was also possible.)

I changed the loop to a do{}while(true); loop and it worked fine.

Sorry I don't have a sample code to demo, but I thought it might be
helpful to share. cheers,

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

No comments:

Post a Comment