cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Java 9 failures
Date Thu, 18 Aug 2016 13:28:40 GMT
I removed Java 9 from the matrix for now. We already know that it requires attention. And now
I want to bring 7/8 build back from red.

Andrus

> On Aug 5, 2016, at 9:30 AM, Andrus Adamchik <andrus@objectstyle.org> wrote:
> 
> Don't have the answers yet. But hopefully this will motivate us to clean up our generics
in general.
> 
> Andrus
> 
>> On Aug 5, 2016, at 5:45 AM, Aristedes Maniatis <ari@maniatis.org> wrote:
>> 
>> [ERROR] /home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK
9 b128 (early access build)/label/Ubuntu/cayenne-server/src/main/java/org/apache/cayenne/ObjectId.java:[145,23]
error: incompatible types: HashMap<String,CAP#1> cannot be converted to Map<String,Object>
>> [ERROR] 
>>   CAP#1 extends Object from capture of ?
>> /home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK
9 b128 (early access build)/label/Ubuntu/cayenne-server/src/main/java/org/apache/cayenne/velocity/VelocitySQLTemplateProcessor.java:[133,89]
error: incompatible types: HashMap<String,? extends Object> cannot be converted to Map<String,Object>
>> [ERROR] /home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK
9 b128 (early access build)/label/Ubuntu/cayenne-server/src/main/java/org/apache/cayenne/query/AbstractMappedQuery.java:[44,26]
error: incompatible types: HashMap<String,CAP#1> cannot be converted to Map<String,Object>
>> [ERROR] 
>>   CAP#1 extends Object from capture of ?
>> /home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK
9 b128 (early access build)/label/Ubuntu/cayenne-server/src/main/java/org/apache/cayenne/query/SQLSelect.java:[179,17]
error: incompatible types: HashMap<String,CAP#1> cannot be converted to Map<String,Object>
>> [ERROR] 
>>   CAP#1 extends Object from capture of ?
>> /home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK
9 b128 (early access build)/label/Ubuntu/cayenne-server/src/main/java/org/apache/cayenne/query/NamedQuery.java:[64,30]
error: incompatible types: HashMap<String,CAP#1> cannot be converted to Map<String,Object>
>> [ERROR] 
>>   CAP#1 extends Object from capture of ?
>> /home/jenkins/jenkins-slave/workspace/cayenne-master/cayenneTestConnection/derby/jdk/JDK
9 b128 (early access build)/label/Ubuntu/cayenne-server/src/main/java/org/apache/cayenne/query/ProcedureCall.java:[87,26]
error: incompatible types: HashMap<String,CAP#1> cannot be converted to Map<String,Object>
>> 
>> 
>> 
>> Does anyone know what changes were made to generics in Java 9?
>> 
>> Ari
>> 
>> 
>> -- 
>> -------------------------->
>> Aristedes Maniatis
>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
> 


Mime
View raw message