bineanzhou / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
0 stars 0 forks source link

ambiguous method invoke #162

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
 I checked out the source from subversion.When I built the project using
ant,there is a error:

    google-guice\src\com\google\inject\InjectorImpl.java:39
     4: reference to visit is ambiguous, both method          
visit(com.google.inject.spi.Cons
tantBinding<? extends T>) in
com.google.inject.spi.BindingVisitor<capture#122 of
 ? super T> and method
visit(com.google.inject.spi.ConvertedConstantBinding<? ex
tends T>) in com.google.inject.spi.BindingVisitor<capture#122 of ? super T>
matc
h
           bindingVisitor.visit(this);

I use jdk 1.6.03.

Original issue reported on code.google.com by lee.chaoqun@gmail.com on 12 Nov 2007 at 8:19

GoogleCodeExporter commented 9 years ago
and the repository revision is 379.

Original comment by lee.chaoqun@gmail.com on 12 Nov 2007 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 5 Jun 2008 at 7:50

GoogleCodeExporter commented 9 years ago
JDK 1.5 can compile.

Original comment by yung...@gmail.com on 28 Jun 2008 at 7:18

GoogleCodeExporter commented 9 years ago
The ambiguous method is gone with the new SPI.

Original comment by limpbizkit on 12 Sep 2008 at 4:41