Closed GoogleCodeExporter closed 9 years ago
Here's the problem. For any binding not explicitly provided, Gin falls back to
calling GWT.create() (GWT.create(Label.class) in your case). This is super
convenient
because it lets you magically inject things created via deferred binding like
Messages. This is not that different than Guice trying to fall back to calling a
public no-arg constructor.
Agree this can make error detection a bit more difficult, but not sure how we
could
improve that without removing the automatic GWT.create thing.
Original comment by bstoler+code@google.com
on 14 May 2009 at 5:11
Original issue reported on code.google.com by
blacklit...@gmail.com
on 14 May 2009 at 1:36