google-code-export / google-guice

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

Unable to compile guice under JDK 1.6 #204

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to compile guice from rev 509 under Windows + JDK 1.6.0_06 I
gettin' this message

    [javac]
C:\guice-snapshot\trunk\src\com\google\inject\InjectorImpl.java:419:
reference to visit is ambiguous, both m
ethod visit(com.google.inject.spi.ConstantBinding<? extends T>) in
com.google.inject.spi.BindingVisitor<capture#839 of ?
 super T> and method visit(com.google.inject.spi.ConvertedConstantBinding<?
extends T>) in com.google.inject.spi.Binding
Visitor<capture#839 of ? super T> match
    [javac]       bindingVisitor.visit(this);

From JDK 1.5.0_15 it works fine.

Original issue reported on code.google.com by abas...@gmail.com on 5 Jun 2008 at 11:34

GoogleCodeExporter commented 9 years ago
Duplicate of 162.

Original comment by limpbizkit on 8 Jun 2008 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 8 Jun 2008 at 11:40