Since UNDEFINED in JS is mapped to null by the Gwt glue glue code, this patch
makes CheckBox.java more robust against user/browser code that returns
UNDEFINED for getAccessKey.

Accidentally bumped into this while trying to debug a failure with HtmlUnit,
which currently returns UNDEFINED for getAccessKey. 

Patch by: rjrjr, amitmanjhi (pair programming)
Review by: amitmanjhi, rjrjr


git-svn-id: https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt@6152 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed