ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Николай Ижиков" <nizhi...@apache.org>
Subject JDK11. ML module. Compilation error.
Date Thu, 28 Nov 2019 12:25:33 GMT
Hello, guys.

We have a compile error under Java11 in ML module.
Can someone take a look?

```
sbt-izhikov-nv:~/src/ignite:[master]$ mvn -version
Apache Maven 3.6.2 (40f52333136460af0dc0d7232c0dc0bcf0d9e117; 2019-08-27T18:06:16+03:00)
Maven home: /Users/sbt-izhikov-nv/bin/apache-maven-3.6.2
Java version: 11.0.5, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Default locale: ru_RU, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.1", arch: "x86_64", family: "mac"
sbt-izhikov-nv:~/src/ignite:[master]$ java -version
openjdk version "11.0.5" 2019-10-15
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.5+10, mixed mode)
sbt-izhikov-nv:~/src/ignite:[master]$ mvn -U -Pall-java,all-scala,scala,licenses,lgpl,examples,tensorflow,checkstyle
-DskipTests -Dmaven.javadoc.skip=true clean install
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile
(default-testCompile) on project ignite-ml: Compilation failure: Compilation failure: 
[ERROR] /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[64,45]
incompatible types: java.lang.Object cannot be converted to java.lang.Integer
[ERROR] /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[78,45]
incompatible types: java.lang.Object cannot be converted to java.lang.Integer
[ERROR] /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[105,38]
incompatible types: java.lang.Object cannot be converted to java.lang.Integer
[ERROR] /Users/sbt-izhikov-nv/src/ignite/modules/ml/src/test/java/org/apache/ignite/ml/dataset/primitive/DatasetWrapperTest.java:[119,38]
incompatible types: java.lang.Object cannot be converted to java.lang.Integer

```
Mime
View raw message