On Fri, Nov 12, 2010 at 5:34 AM, yves <yves.ko...@gmail.com> wrote:

> @Jeff
> As you suggested me, I tried the followig without success (same OOME
> problem):
>
> public class ResultNode<T extends IResultNode> implements IResultNode
> and
> public interface IResultNode extends Result
>
> Again this is syntaxically correct and compiles sucessfully with
> javac, BUT gives again the OOME problem with the GWT compiler.
>
> So apprently the problem is NOT due to the self-referenced generics
> ResulNode<T extends ResultNode<?>>
>
> @Miguel
> As youl suggests in your link, is the problem the serialization of an
> array of type T : T[] next; ?
>
> As a workarround, I'll try to replace this array T[] by an
> ArrayList<T> which serializes without know issue.
> Yves
>
>
I do suspect that T[] is the issue.  @zhuyi: can you take a look at
http://code.google.com/p/google-web-toolkit/issues/detail?id=5582 and let me
know what you think.

-- 
Miguel

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to