[
https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-3974:
----------------------------------------
Currently, as modules fails to build with:
{code}
modules:
[echo] Initializing module -> org.infinispan
[mkdir] Created dir:
/Users/g/Go/test/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/7.0
[copy] Copying 1 file to
/Users/g/Go/test/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/7.0
[copy] Copying 1 file to
/Users/g/Go/test/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/7.0
[echo] Initializing module -> org.infinispan.cachestore.jdbc
[mkdir] Created dir:
/Users/g/Go/test/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan.cachestore.jdbc/7.0
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(build-dist-dir) on project infinispan-as-modules: An Ant BuildException has occured: The
following error occurred while executing this line:
[ERROR] /Users/g/Go/test/infinispan.git/as-modules/build.xml:35: The following error
occurred while executing this line:
[ERROR] /Users/g/Go/test/infinispan.git/as-modules/lib.xml:28:
/Users/g/Go/test/infinispan.git/as-modules/src/main/resources/org/infinispan.cachestore.jdbc/main
does not exist.
[ERROR] around Ant part ...<ant antfile="build.xml"
inheritRefs="true">... @ 4:47 in
/Users/g/Go/test/infinispan.git/as-modules/target/antrun/build-main.xml
{code}
It works fine with JDK7:
{code}
modules:
[echo] Initializing module -> org.infinispan
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/7.0
[echo] Initializing module -> org.infinispan.cachestore.jdbc
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/cachestore/jdbc/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/cachestore/jdbc/7.0
[echo] Initializing module -> org.infinispan.cachestore.remote
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/cachestore/remote/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/cachestore/remote/7.0
[echo] Initializing module -> org.infinispan.persistence.jdbc
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/persistence/jdbc/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/persistence/jdbc/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/persistence/jdbc/7.0
[echo] Initializing module -> org.infinispan.persistence.remote
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/persistence/remote/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/persistence/remote/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/persistence/remote/7.0
[echo] Initializing module -> org.infinispan.commons
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/commons/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/commons/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/commons/7.0
[echo] Initializing module -> org.infinispan.tree
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/tree/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/tree/7.0
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan/tree/7.0
[echo] Initializing module -> org.jgroups
[mkdir] Created dir:
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/jgroups/3.4
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/jgroups/3.4
[copy] Copying 1 file to
/Users/g/Go/upstream/infinispan.git/as-modules/target/infinispan-as-modules/org/jgroups/3.4
all:
{code}
Compilation error with JDK8 b128
--------------------------------
Key: ISPN-3974
URL:
https://issues.jboss.org/browse/ISPN-3974
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 6.0.1.Final
Reporter: Dan Berindei
Assignee: Galder Zamarreño
Fix For: 7.0.0.Alpha1
{noformat}
/mnt/ebs/TeamCity/buildAgent/work/masterjdk7/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/EquivalentConcurrentHashMapV8.java:[4555,45]
error: spliterator() in KeySetView cannot implement spliterator() in Set
return type ConcurrentHashMapSpliterator<K> is not compatible with
Spliterator<K>
where K,E are type-variables:
K extends Object declared in class KeySetView
E extends Object declared in interface Set
/mnt/ebs/TeamCity/buildAgent/work/masterjdk7/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/EquivalentConcurrentHashMapV8.java:[4613,45]
error: spliterator() in ValuesView cannot implement spliterator() in Collection
return type ConcurrentHashMapSpliterator<V> is not compatible with
Spliterator<V>
where V,E are type-variables:
V extends Object declared in class ValuesView
E extends Object declared in interface Collection
/mnt/ebs/TeamCity/buildAgent/work/masterjdk7/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/EquivalentConcurrentHashMapV8.java:[4702,58]
error: spliterator() in EntrySetView cannot implement spliterator() in Set
3 errors
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira