On Wednesday, September 26, 2012 4:25:12 PM UTC+2, Jakob Mar wrote:
>
>
> public class Foo{ ... public List<? extends Base> getList(){...} ...}
> public class Base {...}
> public class A extends Base{...}
> public class B extends Base{...}
>
> @ProxyFor( value=Foo.class, locator...) public interface FooProxy extends
> EntityProxy{ public List<? extends BaseProxy> getList(); public void
> setList(List<? extends BaseProxy> list);}
>
Even if it will contain AProxy and BProxy instances, you have to use
List<BaseProxy>, not List<? extends BaseProxy>.
See http://code.google.com/p/google-web-toolkit/issues/detail?id=7612
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/oRF4N2eiHa4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.