Bug#982026: guacamole-client: FTBFS with OpenJDK 17 due to new compiler warning (primitive constructors marked for removal)

Emmanuel Bourg ebourg at apache.org
Fri Feb 5 18:57:20 GMT 2021


Source: guacamole-client
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

guacamole-client fails to build with OpenJDK 17 because javac is invoked
with the -Werror option and a new warning is now emitted when the primitive
constructors are used:


  [INFO] -------------------------------------------------------------
  [WARNING] COMPILATION WARNING :
  [INFO] -------------------------------------------------------------
  [WARNING] /<<PKGBUILDDIR>>/guacamole-ext/src/main/java/org/glyptodon/guacamole/properties/IntegerGuacamoleProperty.java:[43,30] [removal] Integer(String) in Integer has been deprecated and marked for removal
  [WARNING] /<<PKGBUILDDIR>>/guacamole-ext/src/main/java/org/glyptodon/guacamole/form/NumericField.java:[84,15] [removal] Integer(String) in Integer has been deprecated and marked for removal
  [WARNING] /<<PKGBUILDDIR>>/guacamole-ext/src/main/java/org/glyptodon/guacamole/properties/LongGuacamoleProperty.java:[43,29] [removal] Long(String) in Long has been deprecated and marked for removal
  [INFO] 3 warnings
  [INFO] -------------------------------------------------------------
  [INFO] -------------------------------------------------------------
  [ERROR] COMPILATION ERROR :
  [INFO] -------------------------------------------------------------
  [ERROR] error: warnings found and -Werror specified
  [INFO] 1 error
  [INFO] -------------------------------------------------------------



More information about the pkg-remote-team mailing list