Hmm, it might be that Maps are only supported as properties within proxies. Unit tests only cover that at least (and IIRC, we were aware of the limitation but nobody worked on that final step).
On Tuesday, September 9, 2014 6:07:47 PM UTC+2, Gordan Krešić wrote:
-- On Tuesday, September 9, 2014 6:07:47 PM UTC+2, Gordan Krešić wrote:
In my RequestContext a have a method with signature:Request<Void> doSomething(java.util.Map<EntityAProxy, java.util.List<EntityBProxy>> myMap); for which I'm having error "java.util.Map cannot be used here".As per http://www.gwtproject.org/doc/latest/ myMap should be transportable. GWT compilation doesn't give me any error.DevGuideRequestFactory.html# transportable If I drop java.util.List from method and leave just java.util.Map<EntityAProxy, EntityBProxy> that validates ok.GWT is 2.6.1Is this a bug in requestfactory-apt.jar or am I missing something?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment