Bug#923887: libjline2-java: JDK9+ ByteBuffer covariance incompatibility breaks bytecode compatibility with <=JDK8

Loki Coyote lokkju at gmail.com
Wed Mar 6 18:34:06 GMT 2019


Package: libjline2-java
Version: 2.14.6-1
Severity: important

Dear Maintainer,

scala, sbt, and other REPLs that use jline2 don't display user input when typed. This seems to be caused by java.nio.ByteBuffer.limit covariance under JDK9 and later. This package is currently being built with JDK11 by default, resulting in bytecode incompatibility with JDK8 and lower.

This can be fixed by adding a "maven.compiler.release" property set to 8 or lower (as this projects maven.compiler.target property is set to 1.5, 6 may be approriate for a release version) to debian/maven.properties, but this then prevents JDK8 from being used to build this package, so I'm not sure if this is a solution.

This is a similar issue to problems reported in Bug#913853 and Bug#899183


-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.7-041507-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libjline2-java depends on:
ii  libjansi-java  1.16-1

libjline2-java recommends no packages.

libjline2-java suggests no packages.

-- no debconf information



More information about the pkg-java-maintainers mailing list