tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Resende <luckbr1...@gmail.com>
Subject Ubuntu specific compilation issues
Date Sat, 16 Jun 2012 18:46:35 GMT
It seems that there are some compilation issues in latest ubuntu after
recent java updates. And I don't see any issues in Mac OS
environment...

Environment information :
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

Compilation Error :

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/lresende/opensource/apache/tuscany/java-sca-2.x/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java:[106,32]
type parameters of <R>R cannot be determined; no unique maximal
instance exists for type variable R with upper bounds
org.oasisopen.sca.ServiceReference<B>,org.oasisopen.sca.ServiceReference<B>

[ERROR] /home/lresende/opensource/apache/tuscany/java-sca-2.x/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java:[60,43]
invalid inferred types for R; inferred type does not conform to
declared bound(s)
inferred: org.oasisopen.sca.ServiceReference<B>
bound(s): org.oasisopen.sca.ServiceReference<B>

[ERROR] /home/lresende/opensource/apache/tuscany/java-sca-2.x/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java:[62,39]
invalid inferred types for R; inferred type does not conform to
declared bound(s)
inferred: org.oasisopen.sca.ServiceReference<B>
bound(s): org.oasisopen.sca.ServiceReference<B>

[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/lresende/opensource/apache/tuscany/java-sca-2.x/modules/core/src/main/java/org/apache/tuscany/sca/core/context/impl/ComponentContextImpl.java:[106,32]
type parameters of <R>R cannot be determined; no unique maximal
instance exists for type variable R with upper bounds
org.oasisopen.sca.ServiceReference<B>,org.oasisopen.sca.ServiceReference<B>

/home/lresende/opensource/apache/tuscany/java-sca-2.x/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java:[60,43]
invalid inferred types for R; inferred type does not conform to
declared bound(s)
inferred: org.oasisopen.sca.ServiceReference<B>
bound(s): org.oasisopen.sca.ServiceReference<B>

/home/lresende/opensource/apache/tuscany/java-sca-2.x/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/ExtensibleProxyFactory.java:[62,39]
invalid inferred types for R; inferred type does not conform to
declared bound(s)
inferred: org.oasisopen.sca.ServiceReference<B>
bound(s): org.oasisopen.sca.ServiceReference<B>


I'll investigate it further later tonight or tomorrow, but we might
want to fix this before the new RC

-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Mime
View raw message