[infinispan-issues] [JBoss JIRA] (ISPN-3974) Compilation error with JDK8 b128
Sanne Grinovero (JIRA)
issues at jboss.org
Sun Feb 9 06:43:28 EST 2014
[ https://issues.jboss.org/browse/ISPN-3974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12942829#comment-12942829 ]
Sanne Grinovero commented on ISPN-3974:
---------------------------------------
[~galder.zamarreno] we had the same problem with Animal Sniffer in Hibernate tests on JDK8: it's depending on an older ASM library which fails on checking the JVM version.
I remember testing with an Alpha version of ASM 5 and it would work, but wasn't too convinced on overriding it so we also ended up disabling the sniffer plugin temporarily.
> 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
More information about the infinispan-issues
mailing list