(adding jtamplin as a reviewer as it's in I18N)

http://gwt-code-reviews.appspot.com/1882803/diff/1/user/src/com/google/gwt/i18n/client/TimeZoneInfo.java
File user/src/com/google/gwt/i18n/client/TimeZoneInfo.java (right):

http://gwt-code-reviews.appspot.com/1882803/diff/1/user/src/com/google/gwt/i18n/client/TimeZoneInfo.java#newcode45
user/src/com/google/gwt/i18n/client/TimeZoneInfo.java:45: return
JSON.parse(json);
JSON.parse() isn't available everywhere (that GWT supports).

Use JsonUtils.safeEval() instead, it'll use JSON.parse if available, and
fallback to eval() after checking it's safeToEval().

http://gwt-code-reviews.appspot.com/1882803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to