Closed GoogleCodeExporter closed 8 years ago
Original comment by aragos
on 25 Oct 2010 at 10:00
Fix submitted for review at: http://codereview.appspot.com/2758041/
Original comment by aragos
on 26 Oct 2010 at 9:47
Fix submitted in r147.
Original comment by aragos
on 27 Oct 2010 at 3:54
This bug still happens in 1.0:
java.lang.IllegalArgumentException: Not enough type arguments were specified to
parameterize 'java.util.Set<E>'
at com.google.gwt.core.ext.typeinfo.TypeOracle.getParameterizedType(TypeOracle.java:458)
at com.google.gwt.inject.rebind.util.KeyUtil.getClassType(KeyUtil.java:129)
at com.google.gwt.inject.rebind.util.KeyUtil.getClassType(KeyUtil.java:106)
at com.google.gwt.inject.rebind.BindingsProcessor.createImplicitBinding(BindingsProcessor.java:502)
at com.google.gwt.inject.rebind.BindingsProcessor.createImplicitBindingForUnresolved(BindingsProcessor.java:237)
at com.google.gwt.inject.rebind.BindingsProcessor.createImplicitBindingsForUnresolved(BindingsProcessor.java:225)
at com.google.gwt.inject.rebind.BindingsProcessor.process(BindingsProcessor.java:217)
at com.google.gwt.inject.rebind.GinjectorGeneratorImpl.generate(GinjectorGeneratorImpl.java:76)
at com.google.gwt.inject.rebind.GinjectorGenerator.generate(GinjectorGenerator.java:47)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGenerator(StandardGeneratorContext.java:427)
Also when I try to bind with a @Named annotation it say's that there's no
implementation bound.
No implementation bound for key Key[type=java.util.Set>,
annotation=@com.google.inject.name.Named(value=name_value)]
When I bind this thing as an Object and cast it after it's injected it works
fine.
Original comment by kuba.bochenski@gmail.com
on 18 Jan 2011 at 9:14
Yes, 1.0 was cut a long time ago now, before these fixes. A new release is
coming up although it's currently blocked on Guice 3.0 being ready (Guice is
going through RC right now).
Original comment by aragos
on 18 Jan 2011 at 9:36
Original issue reported on code.google.com by
s...@google.com
on 25 Oct 2010 at 9:25