pom compiler.source 1.7
9yx opened this issue · comments
In pom files compiler.source is 1.7:
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
But the code uses things introduced only in 1.8:
java.util.Spliterator - https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html -
since: 1.8
which version is it ?
version 0.13 using jitpack (https://jitpack.io/#orientechnologies/spring-data-orientdb)
It uses source, target to determine the version of the compiler java
Error build using Java version: 1.7.0_76, vendor: Oracle Corporation:
https://jitpack.io/com/github/orientechnologies/spring-data-orientdb/0.13/build.log
[ERROR] /home/jitpack/build/spring-data-orientdb-commons/src/main/java/org/springframework/data/orient/commons/repository/query/OrientParameters.java:[11,17] cannot find symbol
symbol: class Spliterator
location: package java.util
thank you very much for your report. The code was written by the original contributor, and I use to compile with jdk8, so I never get aware of it. Let me check what to do.
ported to java8.