In order successfully translate into js and not cause gwtc to throw,
the method signature has to be exactly the same - therefore the native
code needs to be put in a private method that is called from
isWhitespace.
On Jul 13, 10:54 am, AdrianBlakey wrote:
> What's the best way to implement isWhit
Looks reasonable, but the GWT team will want to probe this at the
margins (is it consistent with Java? does it need to be?).
FWIW, the open issue for this is:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1983
Definitions of isWhitespace():
http://en.wikipedia.org/wiki/Whitespace
What's the best way to implement isWhitespace(char c)?
It's not included in the GWT emulation. I read an earlier post that
advises writing a java regex but is this really sensible? It gets a
bit too involved and you need an emulation of CharBuffer since that's
all native code.
Isn't it better to