Tuesday, July 3, 2012

Re: productive mode results "undefinded" "NaN"

Please consider not using eval(). It is the source of a great many bugs and opens up many security holes.

For example, now you must be sure that your string being evaluated does not have any variable name conflicts with GWT. Since the GWT compiler minimizes variable names and methods to single letters, using "N" or "n" in your evaluated string will lead to seemingly random behaviors. This is possibly exactly the source of your errors.


Sincerely,
Joseph

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/6V8TFhEVLyYJ.
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