You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kerby@directory.apache.org by Stefan Seelmann <ma...@stefan-seelmann.de> on 2016/01/31 14:43:19 UTC
Java 8, was: Build failed in Jenkins: dir-kerby #148
On 01/29/2016 06:46 PM, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/dir-kerby/148/changes>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project kerby-asn1: Compilation failure: Compilation failure:
> [ERROR] <https://builds.apache.org/job/dir-kerby/ws/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1CollectionTest.java>:[46,9] cannot access java.util.concurrent.CompletableFuture
> [ERROR] class file for java.util.concurrent.CompletableFuture not found
> [ERROR] <https://builds.apache.org/job/dir-kerby/ws/kerby-common/kerby-asn1/src/test/java/org/apache/kerby/asn1/Asn1CollectionTest.java>:[55,9] cannot access java.util.Optional
> [ERROR] class file for java.util.Optional not found
> ...
Looks like some Java 8 features were added to Kerby, at least to test
code. The Jenkins jobs are still configured to build with java 7, hence
they fail.
Does that mean that Java 7 compatibiliy is dropped? Then we need to
change Jenkins jobs to use Java 8.
Otherwise the Java 8 code has to be removed.
Kind Regards,
Stefan
RE: Java 8, was: Build failed in Jenkins: dir-kerby #148
Posted by "Zheng, Kai" <ka...@intel.com>.
>> the Java 8 code has to be removed.
I'm afraid so, to be useful. Thks!
Regards,
Kai
-----Original Message-----
From: Stefan Seelmann [mailto:mail@stefan-seelmann.de]
Sent: Sunday, January 31, 2016 9:43 PM
To: kerby@directory.apache.org
Subject: Java 8, was: Build failed in Jenkins: dir-kerby #148
On 01/29/2016 06:46 PM, Apache Jenkins Server wrote:
> See <https://builds.apache.org/job/dir-kerby/148/changes>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project kerby-asn1: Compilation failure: Compilation failure:
> [ERROR]
> <https://builds.apache.org/job/dir-kerby/ws/kerby-common/kerby-asn1/sr
> c/test/java/org/apache/kerby/asn1/Asn1CollectionTest.java>:[46,9]
> cannot access java.util.concurrent.CompletableFuture
> [ERROR] class file for java.util.concurrent.CompletableFuture not
> found [ERROR]
> <https://builds.apache.org/job/dir-kerby/ws/kerby-common/kerby-asn1/sr
> c/test/java/org/apache/kerby/asn1/Asn1CollectionTest.java>:[55,9] cannot access java.util.Optional [ERROR] class file for java.util.Optional not found ...
Looks like some Java 8 features were added to Kerby, at least to test code. The Jenkins jobs are still configured to build with java 7, hence they fail.
Does that mean that Java 7 compatibiliy is dropped? Then we need to change Jenkins jobs to use Java 8.
Otherwise the Java 8 code has to be removed.
Kind Regards,
Stefan