Bug#981858: libvt-ldap-java: FTBFS with OpenJDK 17 due to java.security.acl removal

Emmanuel Bourg ebourg at apache.org
Thu Feb 4 16:26:17 GMT 2021


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

libvt-ldap-java fails to build with OpenJDK 17 because the java.security.acl
package has been removed:

  [ERROR] /<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/LdapGroup.java:[18,24] error: package java.security.acl does not exist
  [ERROR] /<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/LdapGroup.java:[31,34] error: cannot find symbol
  [ERROR]   symbol: class Group
  [ERROR] /<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/AbstractLoginModule.java:[236,34] error: incompatible types: LdapGroup cannot be converted to Principal
  [ERROR] /<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/AbstractLoginModule.java:[247,34] error: incompatible types: LdapGroup cannot be converted to Principal
  [ERROR] /<<PKGBUILDDIR>>/src/main/java/edu/vt/middleware/ldap/jaas/AbstractLoginModule.java:[308,54] error: method getPrincipals in class Subject cannot be applied to given types;
  [ERROR]   required: Class<T>
  [ERROR]   found:    Class<LdapGroup>
  [ERROR]   reason: inferred type does not conform to upper bound(s)
  [ERROR]     inferred: LdapGroup
  [ERROR]     upper bound(s): Principal
  [ERROR]   where T is a type-variable:
  [ERROR]     T extends Principal declared in method <T>getPrincipals(Class<T>)
  [ERROR] -> [Help 1]



More information about the pkg-java-maintainers mailing list