Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3974

Compilation error with JDK8 b128

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Alpha1
    • 6.0.1.Final
    • Core

      /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 
      

              rh-ee-galder Galder ZamarreƱo
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: