gwt /
gwt /
23602d5f5988f9c4432c0145b4127975b89f2e0e Noticed a case in returning a null value from a JSNI method in Hosted Mode where
I expected a HostedModeException to be thrown, but instead I get a NPE.
The NPE comes from a <type>.getValue() call within the ModuleSpace class, but
I expected a more friendly HostedModeException with a message like (returned 'null' while
expecting type boolean) like you get for returning undefined or the wrong return type.
Patch by: zundel
Review by: jat
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1774 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed