且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GWT - 范围错误:最大调用堆栈大小超过了在spliceArray

更新时间:2022-10-15 15:50:18

这是GWT-2.5.1的已知问题。

而不是使用的addAll方法,使用Add方法在目标ArrayList中单独插入对象。

的http:// code.google.com/p/google-web-toolkit/issues/detail?id=8243

When I try to add an object that has a very large number of elements to another arrayList using the addAll method, I get the following exception :

Range error: Maximum call stack size exceeded at spliceArray

This is a known issue in GWT-2.5.1.

Instead of using addAll method, use the add method to insert objects individually in the target arrayList.

http://code.google.com/p/google-web-toolkit/issues/detail?id=8243