cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Java 9 failures
Date Fri, 05 Aug 2016 02:45:15 GMT
[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