Ok, I'll get it fixed. This is a change I made today. Eclipse's compiler didn't choke on <T>T but I forgot that other compilers tend to.
- James Ugo Cei wrote: > As of revision 441235, I cannot build the trunk with Maven: > > $ mvn -version > Maven version: 2.0.4 > $ java -version > java version "1.5.0_06" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) > Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing) > $mvn install > ... > [INFO] Building Abdera Core > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > Compiling 9 source files to > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[60,27] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[64,19] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/AbstractXPath.java:[76,25] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Number > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[54,17] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[119,23] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[121,31] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[131,40] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > > /Users/ugocei/Projects/Apache/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/ServiceUtil.java:[208,33] > type parameters of <T>T cannot be determined; no unique maximal instance > exists for type variable T with upper bounds T,java.lang.Object > >
