Reviewers: jat,

Description:
This patch makes three changes:
1. Excludes the client-side validation from being analyzed by api
checker. Will
remove this unnecessary exclusion once
http://code.google.com/p/google-web-toolkit/issues/detail?id=5566 is
resolved.
Currently, because of this bug there is a lot of console spew from
typeOracle
unable to find sources.

2. Removes the unnecessary entry from the white-list. The entry is
removed
because even prior to the addition of HTML(SafeHtml ..) call to the HTML
class
in 2.1, the class had two constructors, so a call like new HTML(null)
wouldn't
have compiled before. There is no API breakage because of this new
constructor.

3. Adds a unit test to exercise the case above.

Patch by: amitmanjhi
Review by: jat


Please review this at http://gwt-code-reviews.appspot.com/1093801/show

Affected files:
  M tools/api-checker/config/gwt20_21userApi.conf
M tools/api-checker/test/com/google/gwt/tools/apichecker/ApiCompatibilityUnitTest.java


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

Reply via email to