Friday, March 31, 2017

Re: Extending ArrayList - GWT compiler crashes out

Looks like there is an recursion that is either too deep for the stack memory configured in the JVM (-xss parameter) or it's and endless recursion. Also it seems to occur while gathering serialization information, I guess for GWT-RPC. What GWT compiler does is, it looks at your GWT-RPC methods and their paramters/return types and then figures out all possible classes that could be used with these methods. So if you have serializable classes used with GWT-RPC that have an ArrayList field GWT compiler will now also analyze CustomArrayList.

Does it already fail with an empty CustomArrayList implementation or did you just snip the code because you don't want to publish it?

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment