Bug#1024039: Current default JDK should be updated in Lintian
Package: lintian
Version: 2.115.3
Severity: normal
Dear Maintainer,
Recently, java-common was updated in unstable and then in testing, it changes
the default JDK in Debian from OpenJDK11 to OpenJDK17. Thus I think the line 21
in data/java/constants should be changed from
default-bytecode-version = 56
to
default-bytecode-version = 61
in order to avoid warnings like
--------------------------8<--------------------------
W: beast2-mcmc: incompatible-java-bytecode-format Java17 version (Class format: 61)
N:
N: The package contains Java class files with a minimum requirement on the
N: listed Java version. This Java version is not supported by the default JVM
N: in Debian and is therefore likely to be a mistake.
N:
N: Please refer to Bug#673276 for details.
N:
N: Visibility: warning
N: Show-Always: no
N: Check: languages/java
N:
--------------------------8<--------------------------
which I got with beast2-mcmc 2.7.1+dfsg-1. The package was successfully built
using OpenJDK17 and is now in unstable.
I also just got a similar warning with libjgraph-java, which should hit
unstable within a couple of hours.
Thanks for all the work on Lintian!
Cheers,
--
Pierre
Reply to: