You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
common.compile-test: [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/build/analysis/opennlp/classes/test [javac] Compiling 5 source files to /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/build/analysis/opennlp/classes/test [clover] Clover Version 4.0.4, built on April 15 2015 (build-957) [clover] Loaded from: /home/jenkins/.ivy2/cache/com.atlassian.clover/clover/jars/clover-4.0.4.jar [clover] Clover: Open Source License registered to Apache. [clover] Updating existing database at '/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/build/clover/db/coverage.db'. [clover] Processing files at 1.8 source level. [clover] /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/analysis/opennlp/src/test/org/apache/lucene/analysis/opennlp/TestOpenNLPPOSFilterFactory.java:56:12:unexpected token: Arrays [clover] /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/analysis/opennlp/src/test/org/apache/lucene/analysis/opennlp/TestOpenNLPPOSFilterFactory.java:56:12:unexpected token: Arrays [clover] ** Error(s) occurred and the instrumentation process can't continue.
This error message was from previous Atlassian Clover, but also happens with OpenClover. I just had no example message ready.
The text was updated successfully, but these errors were encountered:
Uwe Schindler REPORTER
This affects the Clover build of Apache Lucene, since we added the new OpenNLP module. We recently updated our builds to OpenClover (see https://issues.apache.org/jira/browse/LUCENE-8169).
The work around is to exclude the OpenNLP test files from instrumenting. We do not want to change the code, because method references like this are the way how to do this typical "toArray()" stuff in Java 8.
Uwe Schindler created an issue 2018-02-11
When compiling the following code, Clover fails:
private static byte[][] toPayloads(String... strings) { return Arrays.stream(strings).map(s -> s == null ? null : s.getBytes(StandardCharsets.UTF_8)).toArray(byte[][]::new); }
This is similar to, but this time it affects array initializer with multiple dimensions: https://jira.atlassian.com/browse/CLOV-1984
Error:
common.compile-test: [mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/build/analysis/opennlp/classes/test [javac] Compiling 5 source files to /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/build/analysis/opennlp/classes/test [clover] Clover Version 4.0.4, built on April 15 2015 (build-957) [clover] Loaded from: /home/jenkins/.ivy2/cache/com.atlassian.clover/clover/jars/clover-4.0.4.jar [clover] Clover: Open Source License registered to Apache. [clover] Updating existing database at '/home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/build/clover/db/coverage.db'. [clover] Processing files at 1.8 source level. [clover] /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/analysis/opennlp/src/test/org/apache/lucene/analysis/opennlp/TestOpenNLPPOSFilterFactory.java:56:12:unexpected token: Arrays [clover] /home/jenkins/jenkins-slave/workspace/Lucene-Solr-Clover-master/lucene/analysis/opennlp/src/test/org/apache/lucene/analysis/opennlp/TestOpenNLPPOSFilterFactory.java:56:12:unexpected token: Arrays [clover] ** Error(s) occurred and the instrumentation process can't continue.
This error message was from previous Atlassian Clover, but also happens with OpenClover. I just had no example message ready.
The text was updated successfully, but these errors were encountered: