#1012071 igv: FTBFS with OpenJDK 17 due to removed java.net.URLDecoder public constructor

Package:
src:igv
Source:
igv
Submitter:
Emmanuel Bourg
Date:
2022-05-31 21:06:06 UTC
Severity:
important
Tags:
#1012071#5
Date:
2022-05-29 17:24:51 UTC
From:
To:
igv fails to build with OpenJDK 17, it invokes the constructor of java.net.URLDecoder
that was made private:


  /<<PKGBUILDDIR>>/src/main/java/org/broad/igv/google/OAuthProvider.java:202: error: URLDecoder() has private access in URLDecoder
          params.put("redirect_uri", new URLDecoder().decode(redirect, "utf-8"));
                                     ^


The decode() method is static and can be invoked directly without instantiating the class.

#1012071#10
Date:
2022-05-31 21:04:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
igv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012071@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Gruet <pgt@debian.org> (supplier of updated igv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 31 May 2022 22:09:01 +0200
Source: igv
Architecture: source
Version: 2.13.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Pierre Gruet <pgt@debian.org>
Closes: 1012071
Changes:
 igv (2.13.0+dfsg-1) unstable; urgency=medium
 .
   * New upstream version 2.13.0+dfsg
   * Refreshing patches
   * Setting Standards version to 4.6.1 (no change)
   * Avoiding the instantiation of URLDecoder as we only call a static method
     (Closes: #1012071)
Checksums-Sha1:
 9b42c237b490522b40ebf941029c678786a008f1 2529 igv_2.13.0+dfsg-1.dsc
 c69fecae564bf79487e15ca97b8055b7f03b2c6c 37866276 igv_2.13.0+dfsg.orig.tar.xz
 1a36591a4ae90f4a14f47d6c937df9e8135a879e 32856 igv_2.13.0+dfsg-1.debian.tar.xz
 1f47d340cf1d15b227925ac353f96563f0a2edf9 20671 igv_2.13.0+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 11f74f4744dedfcbe881b9cc13929df60db685eb0f9d9a63611c76c5e6a55ff9 2529 igv_2.13.0+dfsg-1.dsc
 b122dfea5d4c34a6b0868a95559d7ffbdd6d69cead4704da00e76bfea8072345 37866276 igv_2.13.0+dfsg.orig.tar.xz
 c5e163cfc6b00709dc1145e4af946e58ed2118c6aec59dae9054dbe3bc106b6a 32856 igv_2.13.0+dfsg-1.debian.tar.xz
 34093bae1c4241c0a85dd409cab5ac17cf2e583b1dfafb9850f3c831ce083423 20671 igv_2.13.0+dfsg-1_amd64.buildinfo
Files:
 01ad85fb2a301c7c3fb752235167e529 2529 science optional igv_2.13.0+dfsg-1.dsc
 0063d5edccb8350481391fb7f02c4b0d 37866276 science optional igv_2.13.0+dfsg.orig.tar.xz
 8c8c39e1724d23e570c2dc78f5c5207d 32856 science optional igv_2.13.0+dfsg-1.debian.tar.xz
 2037cd27aedc6a5b1370c9589ea0f25a 20671 science optional igv_2.13.0+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEM8soQxPpC9J9y0UjYAMWptwndHYFAmKWe+wACgkQYAMWptwn
dHaMHg/+Iy4sjsUOZDG2+WQTr7tGSPPtOnCgHQgcd+PyrgkZ2wnQb8NipZGbcQwk
fxImIagkCn2ZF2h7toSDaKXS4cvCY93peWaVRG4uC7KCi7HHjjhhS8jWVN9YKjr0
4PmcZrI4flMHUQ/4vKVuD7JSyb+gRRCzreUxCwvWyjhjMtUXE7dvOH+0m+IE52V7
EVDIr7ycEwKRIIaZ/yFXo5bRlKM+HBZxMq0j0ju3Aa9sGnGY2Ydzvn5l+IAcTdKC
Nsa1HmZGDyDsRilzwJcDwa58fTMYAEuS6sCUfN78oMQUZxJmeLwvrJ0vfLoP+3X3
zYECjG18HtqHf5tD5a5S9cL1bCaBEO8EL80+Ar9O2eayJf4s5sTr9botNVHVWGEI
jfd9p1fzkzuAbmyYRLKqJZil03ngO+uhefh4k0is2Eq6o0s9pgUOv7md66ZK/nwm
CFa2CBZZh12JNveYnum8XrDUSgHfKUzxqceEdRAtd+WsUdIcx1BXLMBJAR7ouWjH
I1EJ4EjKCkBqz9QOwAnUK7P4VdehMNqenLwWThGTqV7hepNt5PqEGvxIdfjZGJPu
/CiT8jVMMN0Bpgoc3zt92sRuEd7QndrFra2m5AgTbo9DXo68Yf8G8u9kc9Mbvnrs
GMYQhJRpAe9Os1ED1WeyyZ6aK+3i1FDRL2xazCeTk33c+4+CTgk=
=081+
-----END PGP SIGNATURE-----