String.split() method bug in GWT 2.0.3

Posted by Domchi on Stack Overflow See other posts from Stack Overflow or by Domchi
Published on 2010-03-11T15:14:34Z Indexed on 2010/03/12 18:17 UTC
Read the original article Hit count: 705

Filed under:
|
|
|

I'm upgrading a GWT project from GWT 1.7.1 to currently newest version 2.0.3. It seems that new GWT broke String.split(String regex) method - I get the following error on the Javascript side:

this$static is undefined

This happens in this line of my .nocache.js file:

if (maxMatch == 0 && this$static.length > 0) {

...which happens to be a part of String split method equivalent in Javascript.

Is there a cure for this, apart from doing string splitting myself?

© Stack Overflow or respective owner

Related posts about gwt

Related posts about gwt2