[Debian-med-packaging] Bug#1012071: igv: FTBFS with OpenJDK 17 due to removed java.net.URLDecoder public constructor

Emmanuel Bourg ebourg at apache.org
Sun May 29 18:24:51 BST 2022


Source: igv
Version: 2.12.3+dfsg-1
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


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.



More information about the Debian-med-packaging mailing list