FWIW, this breaks compilation. I think line 844 in NativeString.java should use "lim" instead of "limit".
Attila. On Apr 25, 2013, at 1:46 PM, Hannes Wallnoefer <[email protected]> wrote: > Please review my patch for JDK-8013131 - Various compatibility issues in > String.prototype.split() > > http://cr.openjdk.java.net/~hannesw/8013131/ > > This fixes the problems with String.prototype.split() from André's last email > and a few other related problems such as lastIndex property being updated on > non-global regexps and JSON treating regexp result as an Object instead of as > an Array. > > thanks, > Hannes
