You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2012/06/16 20:46:35 UTC
Ubuntu specific compilation issues
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/
Re: Ubuntu specific compilation issues
Posted by ant elder <an...@gmail.com>.
The nightly builds run on Ubuntu and they don't see that fail, I'd
guess its likely an issue with that OpenJDK version.
...ant
On Sat, Jun 16, 2012 at 7:46 PM, Luciano Resende <lu...@gmail.com> wrote:
> 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/