eclipse / eclipse-collections

Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.

Home Page:http://www.eclipse.org/collections

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JDK 21 EA build issues

prathasirisha opened this issue · comments

Errors seen on EA builds

Error: 0:921 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project eclipse-collections-api: Compilation failure: Compilation failure:
Error: 0:922 [ERROR] /home/runner/work/eclipse-collections/eclipse-collections/eclipse-collections-api/src/main/java/org/eclipse/collections/api/list/MutableList.java:[60,7] error: types List and ListIterable<T#1> are incompatible;
Error: 0:923 [ERROR] interface MutableList<T#2> inherits abstract and default for getLast() from types List and ListIterable
Error: 0:923 [ERROR] where E,T#1,T#2 are type-variables:
Error: 0:924 [ERROR] E extends Object declared in interface List
Error: 0:924 [ERROR] T#1 extends Object declared in interface ListIterable
Error: 0:924 [ERROR] T#2 extends Object declared in interface MutableList
Error: 0:924 [ERROR] /home/runner/work/eclipse-collections/eclipse-collections/eclipse-collections-api/src/main/java/org/eclipse/collections/api/set/sorted/MutableSortedSet.java:[50,7] error: types SortedSet and OrderedIterable<T#1> are incompatible;
Error: 0:925 [ERROR] interface MutableSortedSet<T#2> inherits abstract and default for getLast() from types SortedSet and OrderedIterable
Error: 0:925 [ERROR] where E,T#1,T#2 are type-variables:
Error: 0:925 [ERROR] E extends Object declared in interface SortedSet
Error: 0:925 [ERROR] T#1 extends Object declared in interface OrderedIterable
Error: 0:925 [ERROR] T#2 extends Object declared in interface MutableSortedSet
Error: 0:926 [ERROR] /home/runner/work/eclipse-collections/eclipse-collections/eclipse-collections-api/src/main/java/org/eclipse/collections/api/list/FixedSizeList.java:[23,7] error: types List and ListIterable<T#1> are incompatible;
Error: 0:926 [ERROR] interface FixedSizeList<T#2> inherits abstract and default for getLast() from types List and ListIterable
Error: 0:926 [ERROR] where E,T#1,T#2 are type-variables:
Error: 0:926 [ERROR] E extends Object declared in interface List
Error: 0:927 [ERROR] T#1 extends Object declared in interface ListIterable
Error: 0:927 [ERROR] T#2 extends Object declared in interface FixedSizeList
Error: 0:927 [ERROR] /home/runner/work/eclipse-collections/eclipse-collections/eclipse-collections-api/src/main/java/org/eclipse/collections/api/list/MultiReaderList.java:[32,7] error: types List and ListIterable<T#1> are incompatible;
Error: 0:927 [ERROR] interface MultiReaderList<T#2> inherits abstract and default for getLast() from types List and ListIterable
Error: 0:927 [ERROR] where E,T#1,T#2 are type-variables:
Error: 0:928 [ERROR] E extends Object declared in interface List
Error: 0:928 [ERROR] T#1 extends Object declared in interface ListIterable
Error: 0:928 [ERROR] T#2 extends Object declared in interface MultiReaderList
Error: 0:928 [ERROR] -> [Help 1]