Closed GoogleCodeExporter closed 8 years ago
I haven't been able to trace this to a cause yet but I'll look into it this
week.
Original comment by aragos
on 17 Nov 2009 at 1:05
Aright, I investigates this further. The short answer: what you're trying to do
is
not possible.
The long answer: You're asking Gin to generate a class initialization with a
type
parameter that is not specified at compile-time. Since Gin runs during the GWT
compilation process, it cannot possibly know how you'll call this class
initialization. Therefore it doesn't know what your type parameter is.
In addition, I assume that ILoaderServiceAsync is a GWT RPC async interface.
These
are instantiated by calling GWT.create(). GWT.create() does not support
generics -
none of the type parameters could be passed on. It also doesn't seem to make
sense to
extend a GWT RPC interface (which is what you imply with "T extends ...").
Maybe I just misunderstand what you're trying to do. But right now I fear I
can't
help you.
Original comment by aragos
on 25 Nov 2009 at 9:38
Original issue reported on code.google.com by
nejakyus...@gmail.com
on 13 Nov 2009 at 10:51