Bug#1011123: mondrian: FTBFS with OpenJDK 17 due to change of Collections.emptyList() return type inference

Emmanuel Bourg ebourg at apache.org
Tue May 17 10:55:25 BST 2022


Source: mondrian
Version: 1:3.11.0.1-4.1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

mondrian fails to build with Java 17:

    [javac] /<<PKGBUILDDIR>>/src/main/mondrian/rolap/MemberCacheHelper.java:187: error: incompatible types: List<Object> cannot be converted to List<RolapMember>
    [javac]         return children == null ? Collections.emptyList()
    [javac]                                 ^



More information about the pkg-java-maintainers mailing list