[JBoss JIRA] (ISPN-3980) Remove deprecated location of InfinispanDirectory
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-3980:
-------------------------------------
Summary: Remove deprecated location of InfinispanDirectory
Key: ISPN-3980
URL: https://issues.jboss.org/browse/ISPN-3980
Project: Infinispan
Issue Type: Task
Components: Lucene Directory
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Fix For: 7.0.0.Alpha1, 7.0.0.Final
The InfinispanDirectory was moved to a more appropriate package name, but the old location was kept as @Deprecated. We can remove this now.
--
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
10 years, 3 months
[JBoss JIRA] (ISPN-3979) JdbcStringBasedStore loading of Key2StringMapper class is too restrictive
by Paul Ferraro (JIRA)
Paul Ferraro created ISPN-3979:
----------------------------------
Summary: JdbcStringBasedStore loading of Key2StringMapper class is too restrictive
Key: ISPN-3979
URL: https://issues.jboss.org/browse/ISPN-3979
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 6.0.1.Final
Reporter: Paul Ferraro
Assignee: Dan Berindei
Priority: Critical
Currently the Key2StringMapper of a JdbcStringBasedStore is specified to the JdbcStringBasedStoreConfigurationBuilder as a class name. Yes, there is a method that accepts a Class<? extends Key2StringMapper>, but that simply stores the getName() of the Class! The JdbcStringBasedStore loads the class using the class loader of the JdbcStringBasedStore class (via Class.forName(...). This is too restrictive. At the very least, JdbcStringBasedStore should use the classLoader defined in the cache Configuration (i.e. via ConfigurationBuilder.classLoader()) to load the class. Why not also allow the JdbcStringBasedStoreConfigurationBuilder to specify a Key2StringMapper instance?
I would really like to make use of Key2StringMapper in WildFly to allow users the option to persist web sessions and SFSBs via the JdbcStringBasedStore (instead of the binary bucket-based store), but the current mechanism is incompatible with use cases where the Key2StringMapper is not known to class loader of the infinispan module.
--
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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo edited comment on ISPN-3974 at 2/7/14 9:51 AM:
-----------------------------------------------------------
[~galder.zamarreno] that is weird... In javadoc for 8, it says that replace all of them: http://download.java.net/jdk8/docs/api/java/lang/String.html#replace-java...
edit: ops, wrong link
was (Author: pruivo):
[~galder.zamarreno] that is weird... In javadoc for 8, it says that replace all of them: http://download.java.net/jdk8/docs/api/java/lang/String.html#replace-char...
> 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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo commented on ISPN-3974:
-----------------------------------
[~galder.zamarreno] that is weird... In javadoc for 8, it says that replace all of them: http://download.java.net/jdk8/docs/api/java/lang/String.html#replace-char...
> 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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-3974:
----------------------------------------
Ok, in Java8, seems like replace only replaces first character:
{code}
modules:
[echo] Initializing module -> org.infinispan
Before replace: org.infinispan
After replace: 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.persistence.jdbc
Before replace: org.infinispan.persistence.jdbc
After replace: org/infinispan.persistence.jdbc
[mkdir] Created dir: /Users/g/Go/test/infinispan.git/as-modules/target/infinispan-as-modules/org/infinispan.persistence.jdbc/7.0
{code}
Changing from:
{code}
name = name.replace(".", "/");
{code}
to:
{code}
name = name.split(".").join("/");
{code}
Makes it work.
> 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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Galder Zamarreño (JIRA)
[ 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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-3974:
----------------------------------------
I've removed the animal sniffer plugin temporarily.
I then got:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.9:javadoc (default) on project infinispan-rhq-plugin: An error has occurred in JavaDocs report generation:
[ERROR] Exit code: 1 - /Users/g/.m2/repository/org/rhq/rhq-core-domain/4.4.0/rhq-core-domain-4.4.0.jar(org/rhq/core/domain/configuration/Configuration.class): warning: Cannot find annotation method 'value()' in type 'Cascade': class file for org.hibernate.annotations.Cascade not found
[ERROR] warning: unknown enum constant CascadeType.MERGE
[ERROR] reason: class file for org.hibernate.annotations.CascadeType not found
[ERROR] warning: unknown enum constant CascadeType.PERSIST
[ERROR] warning: unknown enum constant CascadeType.REFRESH
[ERROR] warning: unknown enum constant CascadeType.DELETE_ORPHAN
[ERROR] /Users/g/.m2/repository/org/rhq/rhq-core-domain/4.4.0/rhq-core-domain-4.4.0.jar(org/rhq/core/domain/configuration/Configuration.class): warning: Cannot find annotation method 'value()' in type 'Cascade'
[ERROR] warning: unknown enum constant CascadeType.PERSIST
[ERROR] warning: unknown enum constant CascadeType.MERGE
[ERROR] warning: unknown enum constant CascadeType.DELETE_ORPHAN
[ERROR] log4j:WARN No appenders could be found for logger (org.jboss.logging).
[ERROR] log4j:WARN Please initialize the log4j system properly.
[ERROR] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[ERROR] javadoc: error - In doclet class org.infinispan.tools.rhq.RhqPluginXmlGenerator, method start has thrown an exception java.lang.reflect.InvocationTargetException
[ERROR] java.lang.RuntimeException: java.io.IOException: invalid constant type: 18
[ERROR] at javassist.CtClassType.getClassFile2(CtClassType.java:204)
[ERROR] at javassist.CtClassType.getInterfaces(CtClassType.java:705)
[ERROR] at javassist.CtClassType.getMethods0(CtClassType.java:1096)
[ERROR] at javassist.CtClassType.getMethods0(CtClassType.java:1099)
[ERROR] at javassist.CtClassType.getMethods0(CtClassType.java:1099)
[ERROR] at javassist.CtClassType.getMethods0(CtClassType.java:1099)
[ERROR] at javassist.CtClassType.getMethods0(CtClassType.java:1099)
[ERROR] at javassist.CtClassType.getMethods0(CtClassType.java:1099)
[ERROR] at javassist.CtClassType.getMethods(CtClassType.java:1090)
[ERROR] at org.infinispan.tools.rhq.RhqPluginXmlGenerator.populateMetricsAndOperations(RhqPluginXmlGenerator.java:122)
[ERROR] at org.infinispan.tools.rhq.RhqPluginXmlGenerator.start(RhqPluginXmlGenerator.java:88)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:483)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
[ERROR] at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
[ERROR] at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:219)
[ERROR] at com.sun.tools.javadoc.Start.begin(Start.java:205)
[ERROR] at com.sun.tools.javadoc.Main.execute(Main.java:64)
[ERROR] at com.sun.tools.javadoc.Main.main(Main.java:54)
[ERROR] Caused by: java.io.IOException: invalid constant type: 18
[ERROR] at javassist.bytecode.ConstPool.readOne(ConstPool.java:1113)
[ERROR] at javassist.bytecode.ConstPool.read(ConstPool.java:1056)
[ERROR] at javassist.bytecode.ConstPool.<init>(ConstPool.java:150)
[ERROR] at javassist.bytecode.ClassFile.read(ClassFile.java:765)
[ERROR] at javassist.bytecode.ClassFile.<init>(ClassFile.java:109)
[ERROR] at javassist.CtClassType.getClassFile2(CtClassType.java:191)
[ERROR] ... 21 more
{code}
and got around that upgrading Javassist library.
> 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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-3974:
----------------------------------------
The animal sniffer plugin issue still happens with latest 1.10 version.
> 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
10 years, 3 months
[JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-3974:
----------------------------------------
After fixing this, there's another problem:
{code}
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/g/Go/upstream/infinispan.git/tools/src/main/java/org/infinispan/tools/doclet/jmx/JmxDoclet.java:[67,32] cannot find symbol
symbol: method getInstance()
location: class com.sun.tools.doclets.formats.html.ConfigurationImpl
[ERROR] /Users/g/Go/upstream/infinispan.git/tools/src/main/java/org/infinispan/tools/doclet/jmx/JmxDoclet.java:[80,32] cannot find symbol
symbol: method getInstance()
location: class com.sun.tools.doclets.formats.html.ConfigurationImpl
{code}
Once that's fixed, there's a problem with the animal sniffer plugin:
{code}
[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on project infinispan-tools: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed. IllegalArgumentException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check (default) on project infinispan-tools: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.9:check failed.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.codehaus.mojo.animal_sniffer.ClassListBuilder.process(ClassListBuilder.java:71)
at org.codehaus.mojo.animal_sniffer.ClassFileVisitor.processJarFile(ClassFileVisitor.java:157)
at org.codehaus.mojo.animal_sniffer.ClassFileVisitor.process(ClassFileVisitor.java:107)
at org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.apply(CheckSignatureMojo.java:214)
at org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.buildPackageList(CheckSignatureMojo.java:200)
at org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.execute(CheckSignatureMojo.java:149)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
... 20 more{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
10 years, 3 months