Package: libcommons-lang-java
Version: 2.6-9
Severity: important
Tags: ftbfs sid bookworm
User: debian-j...@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

Reply via email to