Maven build fails with following error, probably migration to new API should be done [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project infinispan-commons: Compilation failure: Compilation failure: [ERROR] /qa/local/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/084b05de/infinispan/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/EquivalentConcurrentHashMapV8.java:[4555,45] error: spliterator() in KeySetView cannot implement spliterator() in Set [ERROR] return type ConcurrentHashMapSpliterator<K> is not compatible with Spliterator<K> [ERROR] where K,E are type-variables: [ERROR] K extends Object declared in class KeySetView [ERROR] E extends Object declared in interface Set [ERROR] /qa/local/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/084b05de/infinispan/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/EquivalentConcurrentHashMapV8.java:[4613,45] error: spliterator() in ValuesView cannot implement spliterator() in Collection [ERROR] return type ConcurrentHashMapSpliterator<V> is not compatible with Spliterator<V> [ERROR] where V,E are type-variables: [ERROR] V extends Object declared in class ValuesView [ERROR] E extends Object declared in interface Collection [ERROR] /qa/local/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/084b05de/infinispan/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/EquivalentConcurrentHashMapV8.java:[4702,58] error: spliterator() in EntrySetView cannot implement spliterator() in Set
Dan Berindei <dberinde> updated the status of jira ISPN-4433 to Resolved
Ugh, I can still see it in 6.3.1. Majority of tests is running, but we are experiencing failures in a few modules. Setting target releases do 6.3.1 and 6.4.0 to bring this stuff to our attention.
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:52:57.787s [INFO] Finished at: Tue Aug 26 18:02:42 EDT 2014 [INFO] Final Memory: 129M/359M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on project infinispan-cachestore-jdbc: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed. IllegalArgumentException -> [Help 1] [ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on project infinispan-lucene-v3: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed. IllegalArgumentException -> [Help 1] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack (unpack) on project infinispan-lucene-directory: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98. -> [Help 2] [ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on project infinispan-query: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed. IllegalArgumentException -> [Help 1] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project infinispan-tools: Compilation failure: Compilation failure: [ERROR] /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/89fa96e5/infinispan/tools/src/main/java/org/infinispan/tools/doclet/jmx/JmxDoclet.java:[67,32] cannot find symbol [ERROR] symbol: method getInstance() [ERROR] location: class com.sun.tools.doclets.formats.html.ConfigurationImpl [ERROR] /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/89fa96e5/infinispan/tools/src/main/java/org/infinispan/tools/doclet/jmx/JmxDoclet.java:[80,32] cannot find symbol [ERROR] symbol: method getInstance() [ERROR] location: class com.sun.tools.doclets.formats.html.ConfigurationImpl [ERROR] -> [Help 3] [ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on project infinispan-cachestore-jpa: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed. IllegalArgumentException -> [Help 1] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:jar (javadoc) on project infinispan-client-hotrod: MavenReportException: Error while creating archive: [ERROR] Exit code: 1 - javadoc: warning - Error fetching URL: http://java.sun.com/javase/6/docs/api [ERROR] /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/89fa96e5/infinispan/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/Flag.java:7: error: self-closing element not allowed [ERROR] * <p /> [ERROR] ^ [ERROR] /mnt/hudson_workspace/workspace/edg-60-ispn-testsuite-rhel/89fa96e5/infinispan/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/Flag.java:22: error: reference not found [ERROR] * {@link org.infinispan.persistence.spi.CacheLoader}s.</li> etc. etc.
Moving target version to JDG 6.4.0
Working now. Closing
Damn, too eager with decisioning. Reopening. 6.3.1.ER2 -- still present.
I can still see this e.g. on my local machine with JDK8.
Update: Both library mode tests and client-server tests run fine on JDK 1.8. The problem with HR client is only related to compilation and will be fixed by a PR from Tristan. But at runtime the client works fine with JDK 1.8 even now.
Tried with Oracle JDK 1.8 and all the modules can be built. Closing.