Bug#1011120: libcommons-lang-java: FTBFS with OpenJDK 17 due to the new RandomGenerator interface

Emmanuel Bourg ebourg at apache.org
Tue May 17 09:58:47 BST 2022


Package: libcommons-lang-java
Version: 2.6-9
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

libcommons-lang-java fails to build with OpenJDK 17 because the static
JVMRandom.nextLong(long) method clashes with the new RandomGenerator
interface and its nextLong(long) method:

    [javac] /<<PKGBUILDDIR>>/src/main/java/org/apache/commons/lang/math/JVMRandom.java:144: error: nextLong(long) in JVMRandom cannot implement nextLong(long) in RandomGenerator
    [javac]     public static long nextLong(long n) {
    [javac]                        ^
    [javac]   overriding method is static



More information about the pkg-java-maintainers mailing list